PHP Grab Mois à partir de la date
$month = date("m",strtotime($mydate));
Carnivorous Flamingo
$month = date("m",strtotime($mydate));
$dateTime = new DateTime();
$month = $dateTime->format('m');
$time=strtotime($dateValue);
$month=date("F",$time);
$year=date("Y",$time);
$time=strtotime($dateValue);
$month=date("F",$time);
$year=date("Y",$time);
echo cal_days_in_month(CAL_GREGORIAN, 8, 2009);