var str = info[0].start_time;
// console.log(typeof info[0].start_time);
var start_time=str.substr(0,10);
console.log(typeof start_time);
console.log(start_time);
在mysql里面(另一种方式)
$sumSqlWhere = "CONVERT(varchar(120), register_time, 23) between '{$start_time}' and '{$end_time}'";