JoshuaCase
3 years agoQrew Cadet
Calculate Normal Hours and OT Hours
I need to calculate hours that are considered OT or Premium vs Standard Hours based on a end-user in and out time.
I am asking the end-user to enter their in and out time as part of the form. If the in time is before 7 AM EST then those hours from the designated start to 7 AM would be Premium. In the reverse any time worked past 5 PM would be premium.
Example:
In Time: 6 AM
Out Time: 6 PM
Regular Hours: 10
Premium Hours: 2
How do I make these calculations?
------------------------------
Joshua Case
------------------------------
I am asking the end-user to enter their in and out time as part of the form. If the in time is before 7 AM EST then those hours from the designated start to 7 AM would be Premium. In the reverse any time worked past 5 PM would be premium.
Example:
In Time: 6 AM
Out Time: 6 PM
Regular Hours: 10
Premium Hours: 2
How do I make these calculations?
------------------------------
Joshua Case
------------------------------