method Date.setFullYear Private Date.setFullYear(year: number,month?: number,date?: number,): number Sets the year of the Date object using local time. Parameters year: number A numeric value for the year. optional month: number A zero-based numeric value for the month (0 for January, 11 for December). Must be specified if numDate is specified. optional date: number A numeric value equal for the day of the month. Return Type number