javascript to find the time zone code example Example: get browser timezone javascript Intl.DateTimeFormat().resolvedOptions().timeZone