Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

iso to date javascript

date = new Date('2013-03-10T02:00:00Z');
date.getFullYear()+'-' + (date.getMonth()+1) + '-'+date.getDate();//prints expected format.
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #iso #date #javascript
ADD COMMENT
Topic
Name
9+7 =