These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

calculate with date

berny75
Registered: Oct 14 2007
Posts: 4

Hi

Has someone a clue how I can calculate with dates?

How many days are between Date1 an Date2.

Thanks

gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
Which product are you using to create the form?

Acrobat forms and LiveCycle Designer use different lowest common denominator for the date object. Acrobat form reduces everything to milliseconds and LiveCycle Designer uses days for dates.

Acrobat forms uses a date time object and this is documented in the JavaScript Scripting Guide, downloadable as part of the SDK Documentation.

LiveCycle Designer has "Scripting Reference" under the help menu option and you can read about the "Date2Num()" function.

George Kaiser