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?
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?
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!