mysql 时间戳
// 时间为当前是日期
$date = strtotime(date('Y-m-d',time()));
//dd($date);
//UNIX_TIMESTAMP('2006-11-04 12:23:00');
$where = "DATE_FORMAT(FROM_UNIXTIME(create_time),'%Y-%m-%d') = DATE_FORMAT(NOW(),'%Y-%m-%d')";
$where = "UNIX_TIMESTAMP(DATE_FORMAT(FROM_UNIXTIME(create_time),'%Y-%m-%d')) = $date";
//转为int
cast(DATE_FORMAT(FROM_UNIXTIME(UNIX_TIMESTAMP(c.time)),"%d") as signed) time