I18Nv2_Locale::dayName() – Get local day name


require_once 'I18Nv2/Locale.php';

mixed I18Nv2_Locale::dayName ( int $weekday , bool $short = false )


Get the local textual representation of a weekday.


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.


This function can not be called statically.

Get local time (Previous) Get local month name (Next)
Last updated: Sat, 16 Feb 2019 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report.
View this page in:
  • English

User Notes:

There are no user contributed notes for this page.