How to format date/time field to pathern YYYY-MMM-DD

Avatar

Avatar

pg38905522

Avatar

pg38905522

pg38905522

20-03-2015

Hi,

I am using LC Designer ES2,

For the Date /time date format, this is automatocaly display on my form.

Another Think, How can i change display the date field to 2015-03-20. The defaut display 15-03-20

Thanks fot all Help

Pierre

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

pg38905522

Avatar

pg38905522

pg38905522

25-03-2015

H, I flush the date/time field and recreating.

Everiting is OK

THANKS !!!

Answers (3)

Answers (3)

Avatar

Avatar

jasotastic81

Avatar

jasotastic81

jasotastic81

25-03-2015

Are you populating the date by script? Or is this a date the user is selecting? Here's what I see when I set it up.

I add the field to a blank document and set the display pattern as described previously.

742891_pastedImage_0.png

I preview the document and select a date.

743029_pastedImage_0.png

The date looks like the fomat that was requested.

743028_pastedImage_2.png

Avatar

Avatar

pg38905522

Avatar

pg38905522

pg38905522

25-03-2015

Hi Jasotastic81,

I try the solution, but the display continu to show YY--MM-DD

regards Pierre

Avatar

Avatar

jasotastic81

Avatar

jasotastic81

jasotastic81

20-03-2015

This should do it.

741452_pastedImage_0.png