Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

Javascript format date / time

var date = new Date('2014-8-20');
console.log((date.getMonth()+1) + '/' + date.getDate() + '/' +  date.getFullYear());
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #Javascript #format #date #time
ADD COMMENT
Topic
Name
2+3 =