get local timezone node.js code example
Example: node js get time in timezone
// Javascript timestamps are specified in milliseconds
let ts = 1581338765000;
let nz_date_string = new Date(ts).toLocaleString("en-US", { timeZone: "Pacific/Chatham" });
// rest of the code