get month from current date in phgp code example Example: php grab month from date $month = date("m",strtotime($mydate));