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

Issue with Date picker

Avatar

Avatar
Validate 1
Level 1
JD71
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile

Avatar
Validate 1
Level 1
JD71
Level 1

Likes

0 likes

Total Posts

5 posts

Correct Reply

0 solutions
Top badges earned
Validate 1
View profile
JD71
Level 1

26-01-2021

Hi I am having a weird issue with livecycle designer date picker object.

Any date you select before December 31, 1929 is displayed as +100 years.

for ex: if you choose January 26, 1925 from date picker it display as January 26, 2025.

There is no JavaScript in the Object. It just have Display format under patterns.

Date picker_Year Issue.jpgDate picker_Year Issue_2.jpgDate picker_Year Issue_3.JPG

 

Any idea why this is happening? and Any solution for this would be greatly appreciated.

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,072 posts

Correct Reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile

Avatar
Springboard
MVP
Magus069
MVP

Likes

143 likes

Total Posts

1,072 posts

Correct Reply

155 solutions
Top badges earned
Springboard
Validate 1
Ignite 3
Ignite 1
Establish
View profile
Magus069
MVP

26-01-2021

Hi there,

 

This is a simple fix actually, because a default date field object in LiveCycle Designer has it default "edit" value as DD/MM/YY, it can only be accurate up to january 1930 because of how javascript is encoded. Therefore, if you want to have this fix, simply go in the patterns window and select the "Edit" tab on top and select the appropriate pattern to reflect the whole data of a date. Essentially you should select the pattern that uses the full length of a year as YYYY.

 

I hope this will help.

Answers (0)