Created
October 31, 2024 20:06
-
-
Save alsunseri/f5a8b684d0f11e8555da3709505dcc7b to your computer and use it in GitHub Desktop.
get browser TimeZone setting via Javascript in dev tools
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Open your browser's developer tools --> "console" (i.e. by pressing F12 and click on console tab) | |
// type or paste the following: | |
Intl.DateTimeFormat().resolvedOptions().timeZone | |
// Note - type "allow paste" and press the enter key if your browser disables pasting into the console. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment