DateAdd

Overview

Returns the sum of a date and an integer, along with a time stamp.

Syntax

DateAdd(1, 2, 3)

Function Properties

Ordinal Type Description
1 Date Required Date to add using MM/dd/yyyy or YYYY-MM-DD values
2 numeric Required Integer to add
3 string Required Unit of time of the integer. Valid values include Y, M, D, H, and MI.

Usage

%%=DateAdd(@today, '1','D')=%%

The system returns tomorrow's date, along with a time stamp.

Last Updated: Jun 8, 2021