The weekStarts property ("Auto" | number) determines the first day of the week used by the date picker component.
Available since 2025.3.6622.
Declaration
DayPilot.DatePicker.weekStartsPossible Values
"Auto"- uses the value set by the locale.0- Sunday.1- Monday.2- Tuesday.3- Wednesday.4- Thursday.5- Friday.6- Saturday.
Default Value
"Auto"Example
const picker = new DayPilot.DatePicker("dp", {
weekStarts: 1
});See Also
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot