Date::firstWeekday()
Returns the first day of the week (0 = Sunday ... 6 = Saturday) for the given locale (or as defined via config option)
Date::firstWeekday(string $locale): int
Parameters
Name | Type | Default |
---|---|---|
$localerequired | string |
no default value |
Return type
int