日期:2014-05-16  浏览次数:20280 次

js 字符串转为日期
var newTime = "1999-11-11";
var str=newTime.toString();
d =  str.replace(/-/g,"/");
var date = new Date(d);