Problem with converting a epoch value into date value from RestAPI

0
Hi! I'm extracting some data from an API. I've created a REST call to get the needed data, but one of the fields is in an unsupported format. For the date field, I am getting the value 1676614140000, which I want to get in date format. Please suggest a way for converting the receiving value into date format.
asked
2 answers
0

Use function epochToDateTime

https://docs.mendix.com/refguide/parse-and-format-date-function-calls/#7-epochtodatetime

answered
0

You could try:

epochToDateTime(parseInteger($Object/StringAttribute))

Don't forget to put proper error handling on this action.

answered