Change Month Number to Month Name using php

by satheeshkumar 2012-07-09 17:00:23

Change Month Number to Month Name by using following php code,

$monthNumber = 7;
$monthName = date("F", mktime(0, 0, 0, $monthNumber, 10));
echo $monthName;
?>

Tagged in:

1268
like
0
dislike
0
mail
flag

You must LOGIN to add comments