this code will give you a string representation of hours and minutes.
Dim vSeconds as long
Dim vElapsedTime as string
vSeconds = 8019
vElapsedTime = CLng((vSeconds / 3600) - 0.5) & ":" & CInt(((vSeconds - (CLng((vSeconds / 3600) - 0.5) * 3600)) / 60) - 0.5)
Bob Scriver
Nobody believes the official spokesman... but everybody trusts an unidentified source.
Author, Bagdad Bob???
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.