To transform Unix time into JS Date object, you can pass Unix time to new Date() constructor.
Also, a JS Date object can be multiplied by 1 to translate it to Unix time.
Please check the snippet:
It looks like you're new here. If you want to get involved, click one of these buttons!