DayPilot Knowledge Base

AJAX Calendar/Scheduling Controls
DayPilot Pro (AJAX Calendar Control)
» DayPilot ASP.NET Calendar
DayPilot Pro (AJAX Monthly Calendar Control)
» DayPilot ASP.NET Monthly Calendar
DayPilot Pro (AJAX Scheduler Control)
» DayPilot ASP.NET Scheduler
DayPilot » Knowledge Base » How To Set Up Overnight Shift Scheduling with DayPilot Calendar

How To Set Up Overnight Shift Scheduling with DayPilot Calendar

Last revision: Apr 18, 2013

calendar overnight shift scheduling

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.

Properties:

Example:

DayBeginsHour="16"
DayEndsHour="8"

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.

Properties:

Example:

DayBeginsHour="16"
DayEndsHour="8"
BusinessBeginsHour="20"
BusinessEndsHour="5"
HeightSpec="BusinessHours"

See Also

Related

How to show business hours on weekends in Scheduler
How to combine column visibility and cell background to show business hours in the Scheduler
How to define Calendar business and non-business days
List of CSS classes used in CssOnly mode (Calendar)