Posted by & filed under PHP.

Here is a lovely bit of code to help you convert months in numbers to proper names!

<?php
 $monthNum = 11;
 $monthName = date("F", mktime(0, 0, 0, $monthNum, 10));
 echo $monthName; // Outputs: November
 ?>