Skip to content

AddDays

Shaun Lawrence edited this page Aug 13, 2020 · 4 revisions

Returns the supplied date/time with the specified number of days added.

AddDays(date, numberOfDays)

Parameters

date

The date/time that will have the numberOfDays added.

Type DateTime
Required Yes

numberOfDays

The number of days to add to the date.

Type Double
Required Yes

Examples

AddDays(#today#, 2)

Adds 2 days to the current date/time.

AddDays(#today#, -2)

Subtracts 2 days from the current date/time.

Clone this wiki locally