DayPilot.Date.getHours

DayPilot.Date.getHours()

Returns the hour part of the date (int).