Hello Experts!
I have a start time and end time and I want to compute for the duration only within our shift hours.
Shift Start: 08:00 PM
Shift End: 5:00 AM (the next day)
Example 01
Start Time: 07/13/2015 03:30 AM
End Time: 07/14/2015 09:25 PM
With the above example the duration should be computed 1st from 07/13/2015 03:30 AM to 07/13/2015 05:00 AM which is 1:30 hours and 2nd from 07/14/2015 08:00 PM to 07/14/2015 09:25 PM which is 1:25 and if we total the 1:30 and 1:25 we will have 2:55 as the duration.
Example 02
Start Time: 07/13/2015 08:30 PM
End Time: 07/14/2015 01:00 AM
Since the above example is within the shift the duration is 4:30.
Thank you
Hudas
Bookmarks