Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

CodeSpeedy
Community profile CodeSpeedy Level 1
Job title here
Location here
0 BADGES
Level 1

Level 1

Learn more
Joined the community 11-11-2018 11:51:46 PM
Offline
Top badges earned by CodeSpeedy
Customize the badges you want to showcase on your profile
Re: Javascript Date Format Change on exit
Avatar
Level 1
CodeSpeedy
Level 1

Likes

0 likes

Total Posts

1 post

Correct Reply

0 solutions
View profile
CodeSpeedy
- Adobe LiveCycle
break the date string first then take the month as an integer.example.Compare with 12. If it is greater than 12 then it must be a date, not a month. Then just change the format as per your needSee how to change the date formathttps://www.codespeedy.com/format-javascript-date-to-yyyy-mm-dd/ But in your case, you can take multiple date pattern so that any date pattern will be valid to pass the validation check.

Views

444

Likes

0

Replies

0