Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to Use Format to convert time in seconds to "XX:XX"

Status
Not open for further replies.

KKUB

Programmer
Feb 6, 2004
14
0
0
US
I have converted time in seconds to a 24 hour clock format.
I tried to use the format constant to change the format to "XX:XX"

StrTotaltime: Format([HRS] & [Min],"nn:nn")
When I used the above the output displays 00:00 and doen't include the values from [HRS] and [MIN]. Where have I gone wrong?
 
Lupins46
That worked great. Thanks a Million

KKuB
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top