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

Script for adding a duration to a time

New Here ,
Aug 10, 2020 Aug 10, 2020

Copy link to clipboard

Copied

Is it possible to add a user entered duration to an entered time.

For Example

A field "starttime" entered by a user

A field "enroute" entered by a user

starttime + enroute = newtime

 

starttime is a time in 24hr format

enroute is a duration, 1h 15m for example, which is variable entered by the user up to 8 hours

 

So if starttime is 16:24 and enroute is 1:15, newtime would be 17:39

TOPICS
Acrobat SDK and JavaScript

Views

204

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 ,
Aug 10, 2020 Aug 10, 2020

Copy link to clipboard

Copied

Yes, this is possible. You can create a script for this.

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
Community Expert ,
Aug 11, 2020 Aug 11, 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