摘要: //Q:从今天起之前五个月的列表 date_default_timezone_set('PRC'); $time=strtotime('-5 month'); //包含本月 $begin = strtotime(date('Y-m-01 00:00:00', $time)); $end = strtotime(date('Y-m-01 00:00:00') . ' +1 month -1 day... 阅读全文