php extract month from date code example
Example 1: php grab month from date
$month = date("m",strtotime($mydate));
Example 2: get month from database php
echo 'Day' . date('d', strtotime($row['Date']));
echo 'Month' . date('m', strtotime($row['Date']));
echo 'Year' . date('Y', strtotime($row['Date']));