Created
May 31, 2024 19:51
-
-
Save e10a/cdf57765156aa62454d23bb9c165e5df to your computer and use it in GitHub Desktop.
js formatted date
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
new Date().toLocaleDateString('en-us', { weekday:"long", year:"numeric", month:"short", day:"numeric"}) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment