The businessEndsHour property (number) sets the end of the business hours displayed by the JavaScript Calendar component.
See also businessBeginsHour.
18
dp.businessEndsHour = 17;