|
IntlCalendar::setFirstDayOfWeekSet the day on which the week is deemed to start Description
public bool IntlCalendar::setFirstDayOfWeek
( int
$dayOfWeek
)
Defines the day of week deemed to start the week. This affects the behavior
of fields that depend on the concept of week start and end such as
Parameters
Return Values
Returns Examples
Example #1 IntlCalendar::setFirstDayOfWeek
<?php The above example will output: int(2) local day of week: 7 week of month : 4 week of year : 26 local day of week: 1 week of month : 5 week of year : 27 |