Participant
February 9, 2023
Answered
Count Hours/Mins between Start & End Time + Hours over 37.5 spill into OT Hours Field
- February 9, 2023
- 2 replies
- 1251 views
Hi All,
Have read lots of different posts across the forums to try and help me understand what I need in terms of JS in Acrobat Pro, however I am struggling to find the golden nugget.
My issue is two parts:
1. A simple formula/JS to calculate the start time/end time between two fields (HH:MM format) and have that total displayed in the field marked 1 (TOTAL HOURS).
2. Once the timesheet rows total over 37.5 hours in the 'NORMAL HOURS' field, the additional 'hours' spill into the 'OVERTIME HOURS' field. Eg. Total hours on the time sheet form is 45 hours, therefore 37.5 hours would be in the NORMAL HOURS field and 7.5 hours would be in the OVERTIME HOURS field.
Screenshot attached.
Any help on this would be really appreciated.
Thanks!
