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

Time Calculation

scholin
Registered: Apr 4 2007
Posts: 2

I am looking for a simple script to calculate the time difference from a start time to end time on a PDF form (from the same day). Can you point me to such a script?

My Product Information:
Acrobat Pro 7.0.9, Windows
Dimitri
Expert
Registered: Nov 1 2005
Posts: 1389
Hi Scholin,

There is a series of articles on working with date and time in Acrobat at JavaScript Corner (including example scripts) that should help you out.

[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part1/[/url]
[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part2/index.php]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part2/index.php[/url]
[url=http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part3/index.php]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part3/index.php[/url]

Hope that helps,

Dimitri
WindJack Solutions
[url=http://www.windjack.com]www.windjack.com[/url]