DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js date format mm/dd/yyyy
const date = new Date().toLocaleDateString() console.log(date) /* Output : "5/17/2022" */
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#js
#date
#format
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit