Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript convert date from mm/dd/yyyy to yyyymmdd

var yourdate = date.split("/").reverse().join("-");
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #javascript #convert #date #yyyymmdd
ADD COMMENT
Topic
Name
4+2 =