Skip to main content
New Participant
August 27, 2021
Question

Time Sheet calculations (Start time, Finish Time = Total Hours)

  • August 27, 2021
  • 2 replies
  • 645 views

I am looking for some help on how to get this field to calculate correctly.

 

Employees will be entering a start time and finish time... i then want it to calculate how long this employee has been on site for minus a 30 minute break (0.5 hrs)

 

Example...

Start time = 8.00 (am)

Finish time = 16:30 (pm)

Total Hrs = 8.5hrs but - 30 min break leaves a 8.0 value in the box.

 

If someone could help that would be amazing x

This topic has been closed for replies.

2 replies

Amal.
Community Manager
Community Manager
August 27, 2021

Hi Alyda

 

Hope you are doing well and sorry for the trouble. The workflow you are trying to achieve is possible with JavaScript.

 

For more information please check the help page https://acrobatusers.com/tutorials/javascript_console/

 

Regards

Amal

try67
Community Expert
August 27, 2021

Look at the Related Conversations bar at the right-hand side of this page. This issue was discussed many times in the past, including complete code examples on how to do it.

AlydaAuthor
New Participant
August 27, 2021

yes sorry, i am new to this. i managed to find what i was looking for!