Skip to main content
Participating Frequently
Jul 17, 2020 10:11 AM UTC
Question

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

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 is closed to new replies. Start a new post to keep the conversation going.

11 replies

try67
Community Expert
Community Expert
Jul 17, 2020 10:24 AM UTC

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

Translate
Participating Frequently
Jul 17, 2020 10:31 AM UTC

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

Translate
try67
Community Expert
Community Expert
Jul 17, 2020 10:40 AM UTC

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

Translate