changing time format sent to the frontend

Options
My time is a unix timestamp in milliseconds, Have tried to change it to display the date but I had no luck, I get errors or it messes up the entire endpoint, can someone please help 😄

Comments