PHP захватить месяц с даты
$month = date("m",strtotime($mydate));
Carnivorous Flamingo
$month = date("m",strtotime($mydate));
$DaysInCurrentMonth = date('t');
echo 'Day' . date('d', strtotime($row['Date']));
echo 'Month' . date('m', strtotime($row['Date']));
echo 'Year' . date('Y', strtotime($row['Date']));
$dateTime = new DateTime();
$month = $dateTime->format('m');
echo cal_days_in_month(CAL_GREGORIAN, 8, 2009);