DatesADDyear
DatesADDyear is a date arithmetic function designed to add or subtract a number of years to a given date. It is used in data processing, reporting, and scheduling to shift dates while preserving the original month and day where possible.
Syntax and availability vary by platform. Common forms include DATESADDyear(date, years) or DateAdd('year', years, date). In
Parameters typically include a starting date and an integer number of years. The result is a date
Examples illustrate usage: DATESADDyear('2020-02-29', 1) might yield '2021-02-28' in non-leap years; DATESADDyear('2010-07-04', -5) yields '2005-07-04'. Because