G
Guest
I'm trying to calculate the number of hours between two times. This is for a
time clock program, so if worker works over midnight, he/she will end up with
negative hours when I use the DateDiff function. I have the dates logged but
they are values in separate fields. How can I work around this? Could I do
a conditional statement that says, if the value that the DateDiff functions
returns is negative, take the absolute value of that value from 24?
time clock program, so if worker works over midnight, he/she will end up with
negative hours when I use the DateDiff function. I have the dates logged but
they are values in separate fields. How can I work around this? Could I do
a conditional statement that says, if the value that the DateDiff functions
returns is negative, take the absolute value of that value from 24?