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

Subtracting Dates

rtrini
Registered: Mar 30 2007
Posts: 4

Hi, got a newbie question. I created a form with two text boxes, one date in and the other date out. What I would like to do is to be able to subtract date out from date in to another text box named # of days. Thanks in advance for your help.

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

Welcome! Take a look at these articles here on AUC at JavaScript Corner about working with dates and times in Acrobat using JavaScript.

[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/]http://www.acrobatusers.com/tech_corners/javascript_corner/tips/2006/date_time_part2/[/url]

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

Hope that helps,

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