how to find the timezone of date in javascript code example Example: get browser timezone javascript Intl.DateTimeFormat().resolvedOptions().timeZone