DayPilot.Locale.weekStarts

The weekStarts property (number) specifies the first day of the week for the locale.

Declaration

DayPilot.Locale.weekStarts

Possible Values

  • 0 - Sunday

  • 1 - Monday

  • 2 - Tuesday

  • 3 - Wednesday

  • 4 - Thursday

  • 5 - Friday

  • 6 - Saturday

Default Value

0 // Sunday

Notes

Use an integer from 0 to 6, where 0 represents Sunday and 6 represents Saturday.

Example

const locale = DayPilot.Locale.find("en-us");
console.log(locale.weekStarts);

See Also

DayPilot.Locale Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript