Time Elapsed

jb2606

New member
Local time
Today, 22:59
Joined
Feb 28, 2006
Messages
9
I am trying to build a form to calculate time elapsed/time difference.
Example if one turns up for work at 1900hrs (start) and ends his duty at 0200hrs the next day (end), how much time has elapsed? I am trying to use this argument :
Elapsed: IIf([end] > [start], Format([end] - [start], "Short Time"), Format(1 - [start] + [end], "Short Time"))
Unfortunately, I am not grtting the desired result. Could anyone please assist?
Thanks
 
Try:

Elapsed: Format([StartTime] -1 -[EndTime], "Short Time")

should work for both.
 
Thanks it worked
 

Users who are viewing this thread

Back
Top Bottom