CrazyKillerMan
Registered User.
- Local time
- Today, 09:59
- Joined
- Nov 26, 2002
- Messages
- 23
I searched through the forum, and found alot of examples on DateDiff(), but I need to take two dates (both stored in a table as [Off Time] and [On Time] and subtract them. Then show them in hh:mm:ss format, keeping in mind this is in a query. The datediff() function gives me and error if I try to do this. So I tried using math to do
hours & ":" & minutes & ":" & seconds
but the minutes will not show a leading zero, same with seconds.
ie: 2:3:02 is not acceptable.
Is there any way around this?
Or am I going about this all wrong.
hours & ":" & minutes & ":" & seconds
but the minutes will not show a leading zero, same with seconds.
ie: 2:3:02 is not acceptable.
Is there any way around this?
Or am I going about this all wrong.