Skip to content

Instantly share code, notes, and snippets.

@AndreKR
Created August 9, 2023 16:01
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save AndreKR/47f266279ee178561c843f187179e8a0 to your computer and use it in GitHub Desktop.
Save AndreKR/47f266279ee178561c843f187179e8a0 to your computer and use it in GitHub Desktop.
Find current date in timezone in Javascript
new Date().toLocaleDateString('sv', { timeZone: 'Europe/Berlin' }) // sv = ISO format
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment