method Date.getFullYear Private Date.getFullYear(): number Gets the year, using local time. Return Type number