Copy link to clipboard
Copied
I want to add a date in the PDF so that it can be automatically updated to the date of that day every time it is opened
Can anyone help? I have tried many times per the comment from the community, but it didn't work.
I may need detailed steps.
Copy link to clipboard
Copied
Create a field called "Today" and enter the following document level script:
this.getField("Today").value=util.printd("mm/dd/yyyy", new Date());
Copy link to clipboard
Copied
Create a field called "Today" and enter the following document level script:
this.getField("Today").value=util.printd("mm/dd/yyyy", new Date());
Copy link to clipboard
Copied
Thank you. I added a text box, and the date has been shown correctly.
I have another question. I don't want the bodors and filled color of the text box shown.
I try to change to NO COLOR, it seems fail to change. It still show a light blue background color.
Copy link to clipboard
Copied
Set the field as read-only.
Copy link to clipboard
Copied
It didn't show the filled color when I printed it out. Looks good.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
I was trying to use the code mentioned ot make a received stamp in adobe, I wanted it to auto advance each day... Only trouble is, not when I try adn use it, it defaults to sep 11 2025 ? not sure why it would do that?
Copy link to clipboard
Copied
Please post your script.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more