turn string into date pbject javascript code example
Example: js string to date
var myDate = new Date("2013/1/16");
var str = "2013/1/16";
var strToDate = new Date(str);
var myDate = new Date("2013/1/16");
var str = "2013/1/16";
var strToDate = new Date(str);