map_month

Definition

map_month($month)
drupal/includes/form.inc, line 1230

Description

Helper function for usage with drupal_map_assoc to display month names.

Related topics

Namesort iconDescription
Form generationFunctions to enable the processing and display of HTML forms.

Code

function map_month($month) {
  return format_date(gmmktime(0, 0, 0, $month, 2, 1970), 'custom', 'M', 0);
}