Skip to main content
Participant
March 1, 2018
Answered

Update date and hour personalized dynamic stamp

  • March 1, 2018
  • 2 replies
  • 5249 views

Good afternoon

I just created a personalized dynamic stamp on Adobe Pro XI Pro.

I copy this script, on the Editor JavaScript:

event.value = util.printd("h:MM tt, dd mmm yyyy", new Date);

and also use this:

event.value = (new Date()).toString();

AFDate_FormatEx("H:MM , dd/mm/yyyy");

Then I creat the stamp, but when use it doesn't update the hour neither the date with the 2 scripts mentioned above.

Any assist please

Rgs

    Correct answer Bernd Alheit

    Read this about dynamic stamps:

    https://acrobatusers.com/tutorials/dynamic_stamp_secrets

    2 replies

    Sandra24194168e4p6
    Participant
    April 25, 2022

    Hello, i used two sites to help me with this (2 sites and hours of patience)

    Create a custom dynamic stamp using Acrobat DC (adobe.com)

    Creating Date Due stamp (JavaScript) (acrobatusers.com)

    What i came up with is that you have to go to the stamps folder in your C: Drive and save the file you create in the same folder. 

    Also, this is the code

    event.value = util.printd('h:MM tt, mmm dd yyyy', new Date);

    Bernd Alheit
    Community Expert
    Bernd AlheitCommunity ExpertCorrect answer
    Community Expert
    March 2, 2018