I18Nv2_Locale::dayName()

I18Nv2_Locale::dayName()  -- Get local day name

Synopsis

require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::dayName (int $weekday [, bool $short = FALSE])

Description

Get the local textual representation of a weekday.

Parameter

integer $weekday

numerical representation of weekday (0 = Sunday, 1 = Monday, ...)

boolean $short

whether to return the abbreviation

Return value

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

Note

This function can not be called statically.