Avatar of LJShepherd
LJShepherd

asked on 

Difference between two times

Hi,

I am using DateDiff in Access 2010 to show the time difference between 2 times.

Minutes: DateDiff("n",[ClockInTime],[ClockOutTime])

The above works fine, unless ClockOut time is after midnight, in which case I get a negative and inaccurate result.

Can anyone tell me how I need to modify this simple query so that when I run it I get the correct results.

Thanks
Microsoft Access

Avatar of undefined
Last Comment
LJShepherd

8/22/2022 - Mon