Created
February 10, 2018 01:17
-
-
Save danilkuznetsov/a719842f4e62671288bbf7aed9048777 to your computer and use it in GitHub Desktop.
Get current date in JS
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
new Date().toISOString().slice(0,10); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment