Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Intl.DateTimeFormat
new Intl.DateTimeFormat('en-GB', {timeZone: 'Europe/Paris',
year: 'numeric',
month: 'long',
day: 'numeric',
hour: 'numeric',
minute: 'numeric'
}).format(new Date())
// "17 April 2020, 17:03"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.