js,string to Date,所有浏览器均支持 反斜杠,不加任何其他(T,时区等)。2014/11/20 00:00:01
var t1 = new Date('2014-09-28T16:50:51');
var t2 = new Date('2014-09-28 16:50:51');
var t3 = new Date('2014/09/28T16:50:51');
var t4 = new Date('2014/09/28 16:50:51');
console.log(t1.toString());
console.log(t2.toString());
console.log(t3.toString());
console.log(t4.toString());
只有t4:'2014/09/28 16:50:51' 是所有浏览器均正确支持的标准写法