var stime = data[0].start_time; //stime=‘/Date(1460649600000)/‘
var start = eval(‘new ‘ + stime.substr(1, stime.length - 2)); //start=‘Fri Apr 15 2016 00:00:00 GMT+0800 (中国标准时间)‘
var start_time = [start.getFullYear() + ‘-‘ + (start.getMonth() + 1) + ‘-‘ + start.getDate()];
时间: 2024-11-05 18:06:03