Time

IanT

Registered User.
Local time
Today, 20:13
Joined
Nov 30, 2001
Messages
191
I am using the 24 hour clock to calculate time in a query, but access loops the total ie 25 hours would show as 1 hour.
Can anyone advise me how to overcome this in a query!
 
Fields in table
[Date]
[Time]
[End Date]
[End Time]

Create a query and add these two fields

Calculate total time

Total: ([End Date]+[End Time])-([Date]+[Time])

Convert into time

Converted Total: Int(CSng([Total]*24)) & ":" & Format([Total],"nn:ss")
 

Users who are viewing this thread

Back
Top Bottom