Ok that will help, but what happens if the time in is like 23:00 and the time
out is 01:00 the next morning. I get -23:00 as the answer not 2 which is the
true time on the job.
I absolutely agree with Douglas that you should store the date and time. I
doubt it would arise in a workshift situation, but you could span TWO
midnights - from 23:00 to 1:00 might be two hours or it might be 26, and if
the time is all you're storing there's no way to tell.
That said... you can get the positive time if you assume that the total span
will never exceed 24 hours:
(DateDiff("n", [start], [end])+IIF([start] > [end], 1440, 0) \ 60 &
Format(DateDiff("n", [start], [end]) MOD 60, ":00")