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

Calculate elapsed time

Eamy
Registered: Sep 6 2011
Posts: 4
Answered

Hi, I've been creating forms for a few months so I can pretty much work around most things, but the one that's really bugging me is this:
 
I want to show how many days have lapsed between two dates. Any ideas?

Overworked and Underpaid

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Accepted Answer
There is a series of articles on just this topic.
Dates and Times


The examples are for AcroForm Scripting, but the date calculations are the same in LiveCycle. There is also a large set of date/time functions in FormCalc that can be used for the same calculations. The functions are different,but the concepts are the same.

And if you search for "date calculation" on this site you will find many threads covering the same topic.

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script