How does mendix store DateTime values on the frontend? 

0
How does mendix store DateTime values on the frontend? I have a dropdown select box with dates and the value looks to be in long or something but when I try and convert it to DateTime it gives me the wrong date. I’m trying to get the value and convert it to date
asked
4 answers
3

The value that you see there is not the date, but the ID of the referenced entity.

regards

Fabian

answered
0

Mendix stores date and date and time, if the attribute is made localised it stores as per the users time zone. 

else it will be as per the server time 

answered
0

Hi Braden,

If you are using Mendix domain model with Mendix UI, the form elements that gets passed to any Microflow from a page button, will already have those values converted to appropriate data type. I dont understand why do you want to convert this explicitly yourself. 

Refer: https://docs.mendix.com/refguide/datetime-handling-faq

answered
0

Hello Braden,

You can use  parseDateTime('2015-05-21', 'yyyy-MM-dd') 

answered