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