G
Guest
I am running into a weird problem. I am using the following code:
String.Format("{0:0}:{1:00}:{2:00}", Hours.ToString, Minutes.ToString,
Seconds.ToString)
Just say seconds is set to 1, it should return a string that displays
0:00:01, but it isn't display that, instead I get 0:0:1. Can anyone tell me
why the format function isn't displaying both digit placeholders? 00 as a
format should return 01, not 1. Any ideas?
String.Format("{0:0}:{1:00}:{2:00}", Hours.ToString, Minutes.ToString,
Seconds.ToString)
Just say seconds is set to 1, it should return a string that displays
0:00:01, but it isn't display that, instead I get 0:0:1. Can anyone tell me
why the format function isn't displaying both digit placeholders? 00 as a
format should return 01, not 1. Any ideas?