Skip to content

Instantly share code, notes, and snippets.

@JorgeMadson
Created August 8, 2019 21:40
Show Gist options
  • Save JorgeMadson/576a73ba6e04fe5595f0255a1dca0a9f to your computer and use it in GitHub Desktop.
Save JorgeMadson/576a73ba6e04fe5595f0255a1dca0a9f to your computer and use it in GitHub Desktop.
Data e hora em português com fuso horário de são paulo
new Date().toLocaleString('pt-BR', { timeZone: 'America/Sao_Paulo' });
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment