The addHours method returns a new DayPilot.Date value with the specified number of hours added.
DayPilot.Date.addHours(hours)hours (number) - number of hours to add.
hours - integer hour offset added to the current value.
The current value is not changed. The method returns a new DayPilot.Date object.
const start = new DayPilot.Date("2025-03-01T08:00:00");
const result = start.addHours(3);