标签:
1 for ($i=1; $i < 13; $i++) { 2 3 $date = strtotime(date("2015-$i-01")); 4 5 $firstday = date("Y-m-01",$date); 6 7 $lastday = date("Y-m-t",$date); 8 9 echo $firstday.‘===‘.$lastday.‘<br/>‘; 10 }
标签:
原文地址:http://www.cnblogs.com/lovelp/p/5285913.html