AddDays(Number)
Adds the specified number of days to a Date field value.
DateField1.AddDays(5) will return a new date that is exactly 5 days in the future from DateField1.
You can also use negative numbers with AddDays if you want to get a date that is a certain number of days in the past. For example, myDate.AddDays(-3) would give you the date three days ago.
AddDays(Number)
Adds the specified number of days to the date on which the method is called.
- FeatureCalculations