this.Time = Date.parse(new Date(2018-01-09 08:52:16));
this.Time = new Date(2018-01-09 08:52:16).getTime() //推荐
this.start = (new Date(2018-01-09 08:52:16)).valueOf();
结果为:1515459136000
FormatDate("Tue Jul 16 01:07:00 CST 2013");
function FormatDate (strTime) {
var date = new Date(strTime);
return date.getFullYear()+"-"+(date.getMonth()+1)+"-"+date.getDate();
}
结果为:2013-7-16