Skip to content

Instantly share code, notes, and snippets.

@yakubenko
Created June 27, 2018 07:01
Show Gist options
  • Save yakubenko/5e3b1f6eaa9e1b42e6ae97912e04cae7 to your computer and use it in GitHub Desktop.
Save yakubenko/5e3b1f6eaa9e1b42e6ae97912e04cae7 to your computer and use it in GitHub Desktop.
JS gems
// get a string representation of the client's timezone
console.log(Intl.DateTimeFormat().resolvedOptions().timeZone);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment