The first day of week can be set using the weekStarts property.

The automatic mode uses the current culture to determine the first day of week.

JavaScript

Possible values:

  • 0 = Sunday
  • 1 = Monday
  • 2 = Tuesday
  • 3 = Wednesday
  • 4 = Thursday
  • 5 = Friday
  • 6 = Saturday
  • "Auto" (default)
<div id="dp"></div>
<script type="text/javascript">
  var dp = new DayPilot.Navigator("dp");
  dp.weekStarts = 0;  // Sunday
  // ...
  dp.init();
</script>

ASP.NET WebForms

Possible values:

  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • Sunday
  • Auto (default)

Example

<DayPilot:DayPilotNavigator runat="server" id="DayPilotNavigator1"
  ...
  WeekStarts = "Sunday"
/>

ASP.NET MVC

Possible values:

  • Monday
  • Tuesday
  • Wednesday
  • Thursday
  • Friday
  • Saturday
  • Sunday
  • Auto (default)

Example

@Html.DayPilotNavigator("dpn", new DayPilotNavigatorConfig {
  ...
  WeekStarts = WeekStarts.Sunday
})