DayPilot.Date.addTime

The addTime method returns a new DayPilot.Date value with the specified number of ticks added.

Declaration

DayPilot.Date.addTime(ticks)

Parameters

  • ticks (number) - number of milliseconds 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-01T08:00:00.000");
const result = start.addTime(500);

See Also

DayPilot.Date Class

Availability

Availability of this API item in DayPilot editions:

LitePro
DayPilot for JavaScript