V
Vensia
Dear all,
I want to make a function to calculate the normal working hour and overtime
hour.
In this case, I have a shift hour from 20:00 PM - 05:00 AM (one hour for
break 24:00 - 01.00 AM)
If someone works from 19:00 PM until 06:00 AM, then the result is 8 hours
for normal working hours and 2 hours for over time hours. The overtime is
calculated from 19:00 until 20:00 and 05:00 until 06:00.
Please help me how to write the function.
Thanks before.
Regards,
Vensia
I want to make a function to calculate the normal working hour and overtime
hour.
In this case, I have a shift hour from 20:00 PM - 05:00 AM (one hour for
break 24:00 - 01.00 AM)
If someone works from 19:00 PM until 06:00 AM, then the result is 8 hours
for normal working hours and 2 hours for over time hours. The overtime is
calculated from 19:00 until 20:00 and 05:00 until 06:00.
Please help me how to write the function.
Thanks before.
Regards,
Vensia