Created
October 13, 2019 19:42
-
-
Save AndrienkoAleksandr/665e92b2b79c18acab5a938a5d52bcc2 to your computer and use it in GitHub Desktop.
date with second time zone typescript
This file contains hidden or 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
const date = new Date(); | |
console.log(date.toLocaleString("en-US", {timeZone: "Europe/Kiev", weekday: 'long', year: 'numeric', month: 'long', day: 'numeric', hour: 'numeric', minute: 'numeric', second: 'numeric'})) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment