DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
javascript format date yyyy-mm-dd
// yyyy-mm-dd
new
Date
(
)
.
toISOString
(
)
.
slice
(
0
,
10
)
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#javascript
#format
#date
ADD COMMENT
Topic
COMMENT
Name
6+4 =
Submit