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

Date Automatically updated

New Here ,
May 15, 2025 May 15, 2025

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. 

 

 

 

 

TOPICS
PDF forms
871
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 ,
May 15, 2025 May 15, 2025

Create a field called "Today" and enter the following document level script:

this.getField("Today").value=util.printd("mm/dd/yyyy", new Date());

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 ,
May 15, 2025 May 15, 2025

Create a field called "Today" and enter the following document level script:

this.getField("Today").value=util.printd("mm/dd/yyyy", new Date());

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
New Here ,
May 15, 2025 May 15, 2025

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.

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 ,
May 15, 2025 May 15, 2025

Set the field as read-only.

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
New Here ,
May 15, 2025 May 15, 2025

It didn't show the filled color when I printed it out. Looks good.

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 ,
May 16, 2025 May 16, 2025
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
New Here ,
Sep 03, 2025 Sep 03, 2025

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?

 

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 ,
Sep 03, 2025 Sep 03, 2025
LATEST

Please post your script.

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