function map_month
7.x form.inc | map_month($month) |
6.x form.inc | map_month($month) |
Helper function for usage with drupal_map_assoc to display month names.
Related topics
1 call to map_month()
- profile_view_field in drupal-6.x/
modules/ profile/ profile.module
1 string reference to 'map_month'
- expand_date in drupal-6.x/
includes/ form.inc - Roll out a single date element.
File
- drupal-6.x/
includes/ form.inc, line 1743
Code
function map_month($month) {
return format_date(gmmktime(0, 0, 0, $month, 2, 1970), 'custom', 'M', 0);
}