Fields / Formula / function

AddDays

Gives the date a whole number of days later (earlier, for a negative number). The same as value + days.

Syntax

AddDays(value, days)

Returns

What it was given: a Date for a Date, a Date/Time for a Date/Time.

Example

AddDays(CreatedDate, PaymentTermDays)

Notes and limitations

A Date/Time moves by exactly 24 hours a day and keeps its time. Whole days only: part of a day (1.5, or 1/24) is a formula error that says to use AddHours. A blank number of days gives the same date; a blank date gives null.