onkeypress
New member
- Local time
- Yesterday, 17:00
- Joined
- Oct 6, 2006
- Messages
- 7
We are doing some working hours calculation and we need to find out how many hours in the day and night shift. The day shift starts from 6:00 AM till 10:00 PM. The night shift starts from 10:00 PM till 6:00 AM.
For example:
Sign in time: | Sign Out | Total Hours | Day Hours | Night Hours
--------------------------------------------------------------------
8:00 PM | 2.30 AM | 6.50 | 2.00 | 4.50
--------------------------------------------------------------------
10:00PM | 8:15 AM | 10.5 | 2.50 | 8.00
How do I determine the range of hours worked includes in the day shift or night shift or both?
For example:
Sign in time: | Sign Out | Total Hours | Day Hours | Night Hours
--------------------------------------------------------------------
8:00 PM | 2.30 AM | 6.50 | 2.00 | 4.50
--------------------------------------------------------------------
10:00PM | 8:15 AM | 10.5 | 2.50 | 8.00
How do I determine the range of hours worked includes in the day shift or night shift or both?