function addYears addYears(date: Date,years: number,): Date Adds the given amount of years to the specified date. Parameters date: Date years: number Return Type Date