Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

js string to date

var myDate = new Date("2013/1/16");

var str = "2013/1/16";
var strToDate = new Date(str);
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #js #string #date
ADD COMMENT
Topic
Name
3+2 =