Unix Timestamp to Date
|Your local timezone||
A Unix timestamp is a numerical representation of a specific point in time, defined as the number of seconds that have elapsed since January 1, 1970, at 00:00:00 UTC.
new Date() constructor to convert a Unix timestamp to a date, like this:
var unixTimestamp = 1609459200;
var date = new Date(unixTimestamp * 1000);
This will output:
Mon Jan 17 2022 00:00:00 GMT+0000 (Coordinated Universal Time)