Last active
March 1, 2021 23:10
-
-
Save whoisryosuke/e9a43c2cb27cf90e0da47cf62c463dfd to your computer and use it in GitHub Desktop.
JS - Get YYYY-MM-DD formatted date -- see: https://stackoverflow.com/a/29774197
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 dateString = new Date().toISOString().split('T')[0] |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment