PHP获取下个月第一天及最后一天
<?php
echo date('Y-m-01', strtotime('+1 month'));
echo "<br/>";
echo date('Y-m-t', strtotime('+1 month'));
echo "<br/>";
?>
<?php
echo date('Y-m-01', strtotime('+1 month'));
echo "<br/>";
echo date('Y-m-t', strtotime('+1 month'));
echo "<br/>";
?>