console.log(Intl.DateTimeFormat().resolvedOptions().timeZone)
const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone;
console.log(timezone);
// current datetime string in America/Chicago timezone
let chicago_datetime_str = new Date().toLocaleString("en-US", { timeZone: "America/Chicago" });
// create new Date object
let date_chicago = new Date(chicago_datetime_str);
Intl.DateTimeFormat().resolvedOptions().timeZone