Get month of a given date which is stored in a PHP time variable in \'Y-m-d\' format
$date = "2010-10-10"; echo date("m", strtotime($date))?>