从Vue前端传过来的时间格式需要转译:$where[‘start_time’] = preg_replace(“/(\s|\ \;| |\xc2\xa0)/“, “”, strip_tags($where[‘start_time’])); 然后转化为时间戳格式:strtotime($where[‘start_time’]);