Hello Everyone!
I have two data/time fields, "start time" and "stop time." I want to calculate total minutes. The problem I am having is that when the stop time occurs the next day the total minutes calculated is incorrect. For example,
Start Time: 10:00 a.m.
Stop Time: 1:00 a.m.
Below is the calculation:
(Hour([NEW]![Stop Time]-[NEW]![Start Time])*60)+Minute([NEW]![Stop Time]-[NEW]![Start Time])
When I run the update query, for the example above I get 540 minutes (9 hours) when it should be 15 hours or 900 minutes.
What am I doing wrong? Using military time.
thanks in advance,
Maribel
I have two data/time fields, "start time" and "stop time." I want to calculate total minutes. The problem I am having is that when the stop time occurs the next day the total minutes calculated is incorrect. For example,
Start Time: 10:00 a.m.
Stop Time: 1:00 a.m.
Below is the calculation:
(Hour([NEW]![Stop Time]-[NEW]![Start Time])*60)+Minute([NEW]![Stop Time]-[NEW]![Start Time])
When I run the update query, for the example above I get 540 minutes (9 hours) when it should be 15 hours or 900 minutes.
What am I doing wrong? Using military time.
thanks in advance,
Maribel