The businessBeginsHour property (number) sets the start of the business hours displayed by the JavaScript Calendar component.
Declaration
DayPilot.Calendar.businessBeginsHourDefault Value
9Examples
JavaScript
const calendar = new DayPilot.Calendar("dp", {
businessBeginsHour: 8,
// ...
});
calendar.init();Angular
<daypilot-calendar [config]="config"></daypilot-calendar>config: DayPilot.CalendarConfig = {
businessBeginsHour: 8,
// ...
};React
<DayPilotCalendar
businessBeginsHour={8}
{/* ... */}
/>Vue
<DayPilotCalendar
:businessBeginsHour="8"
<!-- ... -->
/>See Also
Business Hours [doc.daypilot.org]
Availability
Availability of this API item in DayPilot editions:
| Product | Lite | Pro |
|---|---|---|
| DayPilot for JavaScript |
DayPilot