How To Set Up Overnight Shift Scheduling with DayPilot Calendar
Last revision: Apr 18, 2013
DayPilot Calendar can be used for overnight shift scheduling.
Limiting the hours displayed in a column
The Calendar control is able to show up to 24 hours in a single
column. You can limit the actual range using DayBeginsHour and
DayEndsHour properties. This way you can show shifts that continue over midnight and end on the following day.
Setting the default view range
In addition to setting the first and last hour of day, it is possible to define the business hours range using BusinessBeginsHour and BusinessEndsHour.
- Business hours will be displayed using a different color (BackColor vs. NonBusinessBackColor properties)
- When used with HeightSpec="BusinessHours" the default display range will be driven by the business hours. It is still possible to use the scrollbar to see the other hours.
- Shift Scheduling Tutorial (ASP.NET, C#, VB.NET) - A complex shift scheduling application sample with source code in C# and VB.NET. It doesn't use overnight shifts though.