You are here

function date_calc_get_month_fullname in Date 5.2

Same name and namespace in other branches
  1. 6.2 date_php4/date_php4_calc.inc \date_calc_get_month_fullname()
  2. 6 date_php4/date_php4_calc.inc \date_calc_get_month_fullname()

Returns the full month name for the given month.

Parameters

int $month: The month.

Return value

string The full name of the month.

2 calls to date_calc_get_month_fullname()
date_calc_format in date_php4/date_php4_calc.inc
Formats the date in the given format, much like strfmt()
date_calc_get_month_abbrname in date_php4/date_php4_calc.inc
Returns the abbreviated month name for the given month.

File

date_php4/date_php4_calc.inc, line 547

Code

function date_calc_get_month_fullname($month) {
  $month = (int) $month;
  if (empty($month)) {
    $month = (int) date_calc_get_month();
  }
  $month_names = date_month_names();
  return $month_names[$month];
}