日付の足し算とか月末とか
2011年11月10日
"; echo $b; ?> http://sandman.s6.xrea.com/nucleus/item-56.html
一日から末までとかこんな感じかな。
"; echo $date_e; ?> ↑これができればうるう年の計算をわざわざしなくても良いのかな。
指定した月の末指定とか
$a="2012-02-05";
$ddd_e=date("Y-m-d",mktime(0,0,0,date("m",strtotime($a))+1,1,date("Y",strtotime($a)))-1);