// how to get current time zone in javascript const timezone = Intl.DateTimeFormat().resolvedOptions().timeZone; console.log(timezone); // Asia/Calcutta