DayPilot.Date.getYear

DayPilot.Date.getYear()

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