Skip to content

Kirby 5.0.1

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

Parent class

Kirby\Toolkit\Date