DekGenius.com
Home
(current)
Dictionary
BOOKS
LYRICS
CHORD
SCRIPT & CODE EXAMPLE
Karaoke language
Search
Go
SCRIPT & CODE EXAMPLE
CODE EXAMPLE FOR JAVASCRIPT
js format date
function displayDate(d) { [yyyy, mm, dd] = d.split(/[/:-T]/); return `${dd}-${mm}-${yyyy}`; }
Source by stackoverflow.com #
PREVIOUS
NEXT
Tagged:
#js
#format
#date
ADD COMMENT
Topic
COMMENT
Name
2+5 =
Submit