PHP Grab miesiąca od daty
$month = date("m",strtotime($mydate));
Carnivorous Flamingo
$month = date("m",strtotime($mydate));
$dateTime = new DateTime();
$month = $dateTime->format('m');