Use a TimeSpan object, and then when you go to display it, use ToString() method (no formatting string is required, as it's native format is [ignore][-][d.]hh:mm:ss[.ff][/ignore]
Code:
Dim ts as TimeSpan
ts = TimeSpan.FromSeconds(62)
Console.WriteLine(ts.ToString())
Chip H.
____________________________________________________________________ If you want to get the best response to a question, please read FAQ222-2244 first
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.