how to get year month and day from date in php code example
Example 1: php grab month from date
$month = date("m",strtotime($mydate));
Example 2: show date php
check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html
$month = date("m",strtotime($mydate));
check here link: http://www.eltcalendar.com/stuff/datemysqlphp.html