DateTime field visualization

This Q&A forum allows users to post and respond to "How Do I Do ....." questions. Please do not use to report (suspected) errors - you must use your regional help desk for this. The information contained in this forum has not been validated by LANSA and, as such, LANSA cannot guarantee the accuracy of the information.
Post Reply
Posts: 3
Joined: Tue May 24, 2016 4:20 am

DateTime field visualization

Post by Elen » Fri Feb 08, 2019 7:19 pm

Lansa V14SP1 VLWeb
To display date fields, we are using the default visualization of DATEX, #DATEX.Visual which is #PRIM_EVDT.
The control claims that it displays dates in d/M/yyyy format (readonly property FormatText displays this as its value) but as you can see in the attached picture the actual format is M/D/YYYY. What should we do to change control’s date format to the desired DD/MM/YYYY as well as the names of Days and Months to our lang ?
datex.jpg (10.95 KiB) Viewed 2044 times

Posts: 106
Joined: Wed Dec 02, 2015 10:06 am

Re: DateTime field visualization

Post by MarkDale » Sat Feb 09, 2019 12:58 pm

I think the way to handle this is to change the locale for the language.

See this link ... Eng03_0055

So if you are running language ENG, and language ENG uses ISO language code (locale) en (which is en US), the dates will default to M/D/Y format

Post Reply