The first day of week can be set using WeekStarts property.
Possible values:
- Monday
- Tuesday
- Wednesday
- Thursday
- Friday
- Saturday
- Sunday
- Auto (default)
The automatic mode uses the current culture to determine the first day of week.
ASP.NET WebForms
<DayPilot:DayPilotMonth runat="server" id="DayPilotMonth1" ... WeekStarts = "Sunday" />
ASP.NET MVC
@Html.DayPilotMonth("dpm", new DayPilotMonthConfig { BackendUrl = ResolveUrl("~/Month/Backend"), ... WeekStarts = WeekStarts.Sunday })
JavaScript
<div id="dp"></div> <script type="text/javascript"> var dp = new DayPilot.Month("dp"); dp.weekStarts = 0; // Sunday // ... dp.init(); </script>