javascript get the local timezone code example Example: get browser timezone javascript Intl.DateTimeFormat().resolvedOptions().timeZone