to convert year to month sample code in php code example
Example: php convert number to month
$monthNum = 3;
$monthName = date('F', mktime(0, 0, 0, $monthNum, 10)); // March
$monthNum = 3;
$monthName = date('F', mktime(0, 0, 0, $monthNum, 10)); // March