Friday, February 24, 2012

map_month() - Predefined Drupal Function

map_month() - Predefined Drupal Function

To get the month name using the numbers of the month.
$val = map_month(3);

echo $val;

Output:
Mar

No comments:

Post a Comment