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

How can I have a field that will always show the current date

louearly
Registered: Jan 29 2009
Posts: 5

I would like to have a date on a pdf that will automatically show the current date. I want it to be in the body of the text not in the header or footer. How is this done?

My Product Information:
Acrobat Standard 9.0, Windows
gkaiseril
Expert
Registered: Feb 23 2006
Posts: 4308
You will need to use a form field and JavaScript to populate the form field.

The cusotm calculation JavaScript could be:

var oNow = new Date(); // get the current date time object
event.vlaue = util.printd("mmm dd, yyyy", oNow); // format output to short month date, full year

George Kaiser