Home » C# » Custom TimeSpan Format Strings Custom TimeSpan Format Strings Vinh Aqua 11:42 C# Today I need to convert from a specific minute to the standard format time as 'hh:mm:ss'. Here is the simple code: var timespan = TimeSpan.FromMinutes(Double.Parse(100)); Refer: http://msdn.microsoft.com/en-us/library/ee372287.aspx Share: Facebook Twitter Google+ StumbleUpon Digg Delicious LinkedIn Reddit Technorati
0 comments:
Post a Comment