DayPilot.DatePicker.weekStarts

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.weekStarts

Possible 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

DayPilot.DatePicker Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript