📅  最后修改于: 2022-03-11 15:03:04.448000             🧑  作者: Mango
// 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