Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

How do I change the date format on the dynamic stamps.

Community Beginner ,
Jan 21, 2017 Jan 21, 2017

I'm in Australia.  I need the dynamic stamps to have Australian format dates, i.e. day, month, year.  The dynamic Paid stamp date is month, day, year.  Just super confusing for all of us down here.  My system Win10 is set to my area and the date is d/m/y.  I cannot find any option in my (new) Acrobat DC Pro to change the date format in the dynamic stamps.  It is an international programme isn't it?

19.8K
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
1 ACCEPTED SOLUTION
Community Expert ,
Jan 23, 2017 Jan 23, 2017

There's another folder where stamp files are located, the user's Stamps folder (the one I described above is the app's Stamps folder).

Again, the exact location varies, but on your system it should be under:

C:\Users\<Your user name>\AppData\Roaming\Adobe\Acrobat\<Version number>\Stamps

View solution in original post

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 22, 2017 Jan 22, 2017

You'll need to locate the stamp's PDF file and then edit the code in it that populates the field with the current date.

This location will depend on your version of Acrobat and on your OS. For example, in Acrobat XI on Windows 7 it should be under the following folder: C:\Program Files (x86)\Adobe\Acrobat 11.0\Acrobat\plug_ins\Annotations\Stamps\ENU

There are several files there. It's most likely under the Dynamic.pdf one. Open it in Acrobat and locate the stamp you want to edit.

Then switch to the Form Edit mode and right-click on the field in the stamp. Select Properties and then look under the Calculate tab.

You'll probably see something like this code:

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

AFDate_FormatEx("h:MM tt, mmm dd, yyyy");

This will result in the following output: "5:48 pm, Jan 22, 2017"

You can change the parameter of the AFDate_FormatEx function to achieve different formats.

When done, save and close the file and it should update the Stamp tool.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 22, 2017 Jan 22, 2017

This was very helpful try67 and I learned a lot, but the Paid stamps aren't in the Enu or Words files in Stamps, in my Acrobat Pro DC version.  Helped by your information I was able to make up a Paid dynamic with Au date but it is blue.  Thank you, I keep learning about the dynamics.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jan 23, 2017 Jan 23, 2017

There's another folder where stamp files are located, the user's Stamps folder (the one I described above is the app's Stamps folder).

Again, the exact location varies, but on your system it should be under:

C:\Users\<Your user name>\AppData\Roaming\Adobe\Acrobat\<Version number>\Stamps

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Jan 23, 2017 Jan 23, 2017

Yes, there they are, thank you so much, I shall start on them tomorrow.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
Jan 23, 2017 Jan 23, 2017
LATEST

Hi,

There is another way to change the date format for Dynamic stamps.

You have to edit the date format in a JavaScript file.

For Adobe Acrobat Pro DC, Kindly follow the steps-

1. Goto the path C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\plug_ins\Annotations\Stamps\ENU\

2. Copy the file Dynamic.pdf and paste it on to your Desktop

3. Open the Dynamic.pdf placed on Desktop

4. Type "All JavaScripts" in Tool search area

5. Click on "All JavaScripts" --> JavaScript Editor opens

6. Scroll up in the editor and modify the date format according to your need in the function AFDate_FormatEx("h:MM tt, dd mmm, yyyy"); For every Dynamic stamp there will be a respective function AFDate_FormatEx("h:MM tt, dd mmm, yyyy") you need to update every entry.

7.Click "OK" and then Save the PDF(click ctrl+s ) and Close Acrobat Pro DC.

8. Now Copy this pdf and paste it on the location C:\Program Files (x86)\Adobe\Acrobat DC\Acrobat\plug_ins\Annotations\Stamps\ENU\

  It means you have to replace the original Dynamic.pdf with the modified one.

9. Open any pdf and Apply dynamic stams, it will show the changed date format.

This method can leverage you to change other strings as well.

I hope it helps. Please let us know if you face any issues.

Regards,

Arvind

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines