PEAR Manual
Prev |  | Next

# I18Nv2_Locale::monthName()

I18Nv2_Locale::monthName() -- Get local month name

## Synopsis

    require_once 'I18Nv2/Locale.php';

``mixed I18Nv2_Locale::monthName` (int $month [, bool $short = `FALSE`])`

## Description

Get the local textual representation of a month.

## Parameter

integer `$month`

  numerical representation of month (0 = January, 1 = February, ...)

boolean `$short`

  whether to return the abbreviation

## Return value

Returns string name of month on success or PEAR_Error on failure.

## Note

This function can not be called statically.

Prev | Home | Next
I18Nv2_Locale::dayName() | Up | Class Summary I18Nv2_Negotiator