I currently have an API that returns a date in this format:
1607474368095
But I need it to be in format dd-MM-yyyy HH:mm:ss
I have tried to parse with a LocalDateTimebut it fails.
I try to do a getDate() but it tells me that it is deprecated.
Right now, I don't know of any way to parse a given date in this format.