DayPilot.Date.getYear

DayPilot.Date.getYear()

Returns the full year number, e.g. 2010 (int).

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