Map epoch timestamp to date

I’m trying to convert an epoch timestamp (1703116800000) to a readable Date Format (2023-12-21 00:00:00) in my entity transformer.

What is considered best practice?

Hi @daniellefers,

You can transform it using a Value Mapper.
This is for an example:

Thanks for the response. This worked!

I came to the conclusion the unix timestamp was in milliseconds, so I had to devide through 1000 to get better results!

1 Like