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 Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

convert number to hrs and seconds

Status
Not open for further replies.

vangundy

Programmer
Jan 29, 2005
38
CA
I have a number field in my Access table, field1. Field1 shows data as seconds.

Field1
3600

I want to convert this to hrs and second so it shows as
1 hr

How can I do this?
 
Something like this ?
Format([Field1/86400, "h \hr n \mi\n s \se\c")

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top