The dayBeginsHour property (number) sets the first visible hour of the JavaScript Calendar grid.
DayPilot.Calendar.dayBeginsHour0Use this property together with DayPilot.Calendar.dayEndsHour to control the visible hour range.
JavaScript
const calendar = new DayPilot.Calendar("dp", {
dayBeginsHour: 9,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
dayBeginsHour: 9,
// ...
};React
<DayPilotCalendar
dayBeginsHour={9}
{/* ... */}
/>Vue
<DayPilotCalendar
:dayBeginsHour="9"
<!-- ... -->
/>Overnight Scheduling [doc.daypilot.org]