I have been fighting with this for a bit now. I’m trying to convert epoch to a date object. The epoch is sent to me in UTC. Whenever you pass new Date() an epoc
new Date()
var myDate = new Date( your epoch date *1000);
source - https://www.epochconverter.com/programming/#javascript