• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

need help calculating time in javascript.

New Here ,
Apr 16, 2020 Apr 16, 2020

Copy link to clipboard

Copied

Dear Adobe

 

I require assistance on a script to calculate a new time of a field. 

 

This is a navigation form that requires the user to insert a departure time in minutes, then add more time to that in aseparate field and show the result in the next field.

 

i.e.

Departing at 10:00 (field1)

Time to next waypoint = 78 miutes 

Passing next waypoint = 11:18  (field3)

 

I need to calculate field3 and display like that, preferably with AM/PM if possible.

Any advice would be appreciated, thanks.

TOPICS
Acrobat SDK and JavaScript

Views

157

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Apr 16, 2020 Apr 16, 2020

Copy link to clipboard

Copied

LATEST

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines