Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript format date yyyy-mm-dd

let today = new Date()
today.toISOString().split('T')[0]
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #format #date
ADD COMMENT
Topic
Name
4+2 =