DayPilot.Date.getYear

DayPilot.Date.getYear()

Returns the full year number, e.g. 2025 (number).