tp3.2sql改变时间格式2018-05-10取05-10
$listIn=D('api_article as a')->field('date_format( fabutime,\'%m-%d\') as fabutime,d_id as did,title,id')->where(array('did'=>3,'er_id'=>1))->select();

 

posted on 2018-05-25 16:05  巴黎夜雨……  阅读(640)  评论(0编辑  收藏  举报