map_month
Definition
map_month($month)
includes/form.inc, line 1701
Description
Helper function for usage with drupal_map_assoc to display month names.
Related topics
| Name | Description |
|---|---|
| Form generation | Functions to enable the processing and display of HTML forms. |
Code
<?php
function map_month($month) {
return format_date(gmmktime(0, 0, 0, $month, 2, 1970), 'custom', 'M', 0);
}
?> 