var myTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone; console.log(myTimeZone);
Get system timezone in JavaScript September 3, 2021 Share Share Link Close share Copy link var myTimeZone = Intl.DateTimeFormat().resolvedOptions().timeZone; console.log(myTimeZone); Back to blog Leave a comment Name * Email * Comment * Please note, comments need to be approved before they are published.