Last active
October 6, 2021 13:19
-
-
Save yussan/2158e3f55253ffed9d127786d654c41a to your computer and use it in GitHub Desktop.
Get Current Time Based On Active UTC
This file contains 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 now = new Date(now.getTime() - now.getTimezoneOffset() * 60000) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment