Last active
August 22, 2023 02:33
-
-
Save mcsee/293dc79524550a542fc70db572d8e092 to your computer and use it in GitHub Desktop.
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
class DateStringHelper { | |
static format(date) { | |
return date.toString('yyyy-MM-dd'); | |
} | |
} | |
DateStringHelper.format(new Date()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment