PHP Grab miesiąca od daty
$month = date("m",strtotime($mydate));
Carnivorous Flamingo
$month = date("m",strtotime($mydate));
$monthNum = 3;
$monthName = date('F', mktime(0, 0, 0, $monthNum, 10)); // March
$monthNum = 3;
$dateObj = DateTime::createFromFormat('!m', $monthNum);
$monthName = $dateObj->format('F'); // March