AddYears(Number)
Adds the specified number of years to the Date value.
Adds the specified number of years to the Date value.
DateField1.AddYears(3) will return a new date that is exactly 3 years in the future from DateField1.
You can also use negative numbers with AddYears if you want to get a date that is a certain number of years in the past. For example, DateField1.AddDays(-6) would give you the date 6 years ago.
-33ae914.png)
-1cffc4e.png)
-1888e52.png)
-9e1d47c.png)