Import from XML converts dates incorrectly

0
I have a date in XML formatted as <Date>1971-02-20T00:00:00</Date> with the data type defined in XSD as "string". When I import this value into an attribute with a data type of "String", it changes the format to "02/20/1971 00:00:00", which is not even following my locale settings, which should result in a dd/MM/yyyy format. Can this behaviour be turned off or made to honour my preferences?
asked
2 answers
1

Hi Olly,

Try importing the date into a non-persistent entity  as a DateTime attribute. Then use the formatDateTime function to save it correctly into your database .

Kind regards,

Tim

answered
0

Is this how it's being displayed on the front-end of your app?

answered