iana timezones javascript code example Example: js get iana timezone console.log(Intl.DateTimeFormat().resolvedOptions().timeZone)