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.
-2fca86a.png)
-8b7faa3.png)
-9fe96c2.png)
-974faa3.png)