Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PHP

php convert month number to name

$monthNum  = 3;
$dateObj   = DateTime::createFromFormat('!m', $monthNum);
$monthName = $dateObj->format('F'); // March
Source by stackoverflow.com #
 
PREVIOUS NEXT
Tagged: #php #convert #month #number
ADD COMMENT
Topic
Name
6+1 =