Hi, I'm using
Total Hours Worked: DateDiff("n",[Start Time],[End Time])/60
to calculate employee hours worked for the day. It works fine except for employees who work after 12midnight. I'm using 24hr format for Start & End time. This is what I get for someone who worked 3:00pm-4:00am.
Start Time 15:00
End Time 04:00
Total Hours Worked = -11.00 ???? (Why am I getting negative # when it should be 13.00 total hours)
Any help?
Total Hours Worked: DateDiff("n",[Start Time],[End Time])/60
to calculate employee hours worked for the day. It works fine except for employees who work after 12midnight. I'm using 24hr format for Start & End time. This is what I get for someone who worked 3:00pm-4:00am.
Start Time 15:00
End Time 04:00
Total Hours Worked = -11.00 ???? (Why am I getting negative # when it should be 13.00 total hours)
Any help?