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

Easiest way to convert date field to milliseconds

CarolinaPower
Registered: Mar 26 2009
Posts: 43

for date comparison purposes.

I plan to add one years of milliseconds and then compare result to today's results in milliseconds.

My Product Information:
Acrobat Standard 9.1, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
You can use the "uti.scand()' method, but remember that if you do not specify a time, your result will include the current time. So it is best to use a standard time when getting the date time object for a date string or the current date.

George Kaiser

CarolinaPower
Registered: Mar 26 2009
Posts: 43
Parameters for Util.scand ? The field is just mm/dd/yyyy