Copy link to clipboard
Copied
Hello Adobe Community,
I'm looking for guidance on a script to calculate 3 Time in/Time out slots and adding any Overtime Hours or On-Call hours ending up with the correct total hours for the day. Please see image below. Thank you!
The names of the first row of boxes I need help with are as follows:
inSat
outSat
inSAT_2
outSAT_2
inSAT_3
outSAT_3
OnCall_EarnedSAT
Overtime_EarnedSAT
Thank you!
Copy link to clipboard
Copied
Hello Adobe Community,
I'm looking for guidance on a script to calculate 3 Time in/Time out slots and adding any Overtime Hours or On-Call hours ending up with the correct total hours for the day. Please see image below. Thank you!
The names of the first row of boxes I need help with are as follows:
inSat
outSat
inSAT_2
outSAT_2
inSAT_3
outSAT_3
OnCall_EarnedSAT
Overtime_EarnedSAT
Thank you!
Copy link to clipboard
Copied
Have you read these articles?
https://www.pdfscripting.com/public/Date-and-Time-Handling.cfm
https://www.acrobatusers.com/tutorials/date_time_part1/
https://www.acrobatusers.com/tutorials/date_time_part2/
https://acrobatusers.com/tutorials/working-date-and-time-acrobat-javascript-part-3-3/