DayPilot.Calendar.businessEndsHour

The businessEndsHour property (number) sets the end of the business hours displayed by the JavaScript Calendar component.

Declaration

DayPilot.Calendar.businessEndsHour

Default Value

18

Examples

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

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript