DayPilot.Date.addDays

The addDays method returns a new DayPilot.Date value with the specified number of days added.

Declaration

DayPilot.Date.addDays(days)

Parameters

  • days (int) - number of days to add.

Notes

The current value is not changed. The method returns a new DayPilot.Date object.

Example

const start = new DayPilot.Date("2025-03-01T00:00:00");
const result = start.addDays(7);

See Also

DayPilot.Date Class

Days View [doc.daypilot.org]

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript