Is there a script that will display a date in a set format no matter how it is entered. Ex. entered 021119 or 2/11/19 and auto displayed as 11-Feb-19.

New Here ,
Feb 08, 2019

Copy link to clipboard

Copied

Is there a script that will display a date in a set format no matter how it is entered.  Ex. entered 021119 or 2/11/19 and auto displayed as 11-Feb-19.

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

It happens automatically when you set the Format to Date (and use the latest version of Acrobat or Reader).

TOPICS
Acrobat SDK and JavaScript

Views

91

Likes

Translate

Translate

Report

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

Is there a script that will display a date in a set format no matter how it is entered. Ex. entered 021119 or 2/11/19 and auto displayed as 11-Feb-19.

New Here ,
Feb 08, 2019

Copy link to clipboard

Copied

Is there a script that will display a date in a set format no matter how it is entered.  Ex. entered 021119 or 2/11/19 and auto displayed as 11-Feb-19.

Most Valuable Participant
Correct answer by try67 | Most Valuable Participant

It happens automatically when you set the Format to Date (and use the latest version of Acrobat or Reader).

TOPICS
Acrobat SDK and JavaScript

Views

92

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Feb 08, 2019 0
Most Valuable Participant ,
Feb 08, 2019

Copy link to clipboard

Copied

No. How will it know that "021119" is 11-Feb-2019 and not 02-Nov-2019 (as is common outside the US), or even 19-Nov-2002, etc.?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 08, 2019 0
Adobe Community Professional ,
Feb 08, 2019

Copy link to clipboard

Copied

Why want you this? The users can use the calendar popup.

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 08, 2019 0
New Here ,
Feb 08, 2019

Copy link to clipboard

Copied

The field is part of an adobe acrobat form.  Is there an option to include a calendar pop up ?

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 08, 2019 0
Most Valuable Participant ,
Feb 08, 2019

Copy link to clipboard

Copied

It happens automatically when you set the Format to Date (and use the latest version of Acrobat or Reader).

Likes

Translate

Translate

Report

Report
Community Guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
Reply
Loading...
Feb 08, 2019 1