Why an Acrobat Dynamic Date Stamp Does Not Recalculate
Question details
The user wants a custom Acrobat date and time stamp to update when a document is reopened or used.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- A custom dynamic stamp uses JavaScript and AFDate_FormatEx to display a date and time.
- Observed behavior
- The stamp displays a date and time but does not update when the PDF is reopened or used.
Identify where the JavaScript was added and whether the date should change when the stamp is applied or when the PDF is reopened. Locate the custom stamp’s source PDF if you need to inspect its calculation script.
Apply the dynamic stamp again to capture a new date and time
Use this approach when the stamp should record the time it was placed on the PDF.
A dynamic stamp normally calculates its date and time when it is applied. An existing stamp does not automatically recalculate every time the document is reopened; AFDate_FormatEx formats a value but does not by itself schedule updates.
Open the custom stamp’s source PDF in Acrobat and use Prepare a form to inspect the calculation script on the date field. Confirm that it is part of the stamp, rather than a script in the document being stamped.
Open the target PDF and select All tools > Use a stamp. Choose the custom stamp and click the page to place a new instance.
Check the newly placed stamp’s date and time. Reopen the PDF to confirm that the existing stamp retains the time recorded when it was applied.

Work with PDFs and Office files in WPS Office
WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Office documents. Its format compatibility helps you move existing files into WPS, although it does not fix Acrobat’s dynamic stamp behavior or its JavaScript.

Frequently Asked Questions
Why does my stamp keep the old date after I reopen the PDF?
A dynamic stamp normally records the date and time when you place it. Reopening the PDF does not automatically recalculate an existing stamp.
Does AFDate_FormatEx make the date update automatically?
No. AFDate_FormatEx formats a date value; it does not by itself cause the script to run when the PDF is reopened.
Where should I check the dynamic stamp script?
Open the custom stamp’s source PDF in Acrobat and use Prepare a form to inspect the date field’s calculation script.
Can I show a date that changes when the PDF opens?
That requires additional scripting, such as document-level JavaScript that updates a separate form field when the PDF opens. The behavior depends on the viewer’s JavaScript support and permissions.




