MYSQL将时间格式化
SELECT *,DATE_FORMAT(FROM_UNIXTIME(createtime), "%Y/%m/%d %H:%i:%s") AS dateFormat FROM `InApp_AdLog` where imei != '' ORDER BY id desc limit 10;
SELECT *,DATE_FORMAT(FROM_UNIXTIME(createtime), "%Y/%m/%d %H:%i:%s") AS dateFormat FROM `InApp_AdLog` where imei != '' ORDER BY id desc limit 10;