获取近30天的数据的时间方式

1  $date = date('Y-m-d', strtotime('-30 days'));

 

posted @ 2017-09-12 20:03  原来是个帅小伙  阅读(374)  评论(0)    收藏  举报