Skip to main content
baint50
Participant
February 8, 2019
Answered

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.

  • February 8, 2019
  • 2 replies
  • 466 views

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.

This topic has been closed for replies.
Correct answer try67

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

2 replies

Bernd Alheit
Community Expert
Community Expert
February 8, 2019

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

baint50
baint50Author
Participant
February 8, 2019

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

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
February 8, 2019

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

try67
Community Expert
Community Expert
February 8, 2019

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.?