DayPilot.Date.addYears

DayPilot.Date.addYears(years)

Adds the specified number of years to the value of this instance. Returns a new DayPilot.Date object. The current value is not changed.

Parameters:

  • years (integer)

DayPilot for JavaScript, ASP.NET WebForms, ASP.NET MVC, Java