Skip to main content
Participating Frequently
July 17, 2020
Question

Javascript for time between two time fields in pdf HH:MM

  • July 17, 2020
  • 11 replies
  • 1789 views

Hi all, 

Got a pdf with fillable fields, TIME OUT & TIME IN. Both are entered as HH:MM. No seconds, no date. 24hr clock. I want to find time difference between them also dispalyed in HH:MM. ie time in 12:00, time out 14:30....elapsed time...02:30. I cant get a head of this and its bugging me. Can anyone help? 

This topic has been closed for replies.

11 replies

try67
Community Expert
Community Expert
July 17, 2020

This issue was discussed many (many) times on these forums, including full codes to do it. Have you tried searching around a bit?

Participating Frequently
July 17, 2020

Sort of, but some are with YYYY, or HHMMSS, I'm a basic IT person. Can you point me in the direction ?

try67
Community Expert
Community Expert
July 17, 2020

Just adjust the time format to the one you use, then... It doesn't have to contain the date part.