Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.
SOLVED

Issue with Date picker

Avatar

Level 1

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.

1 Accepted Solution

Avatar

Correct answer by
Level 10

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.

View solution in original post

2 Replies

Avatar

Correct answer by
Level 10

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.