SysComputedColumn::getDateAdd Method [AX 2012]
Creates an expression that calculates the sum of two dates.
Syntax
server public static str getDateAdd(
str _expression1,
str _expression2,
[SysComputedColumnDatePart _dateDiffFormat])
Run On
Server
Parameters
- _expression1
Type: str
The left expression.
- _expression2
Type: str
The right expression.
- _dateDiffFormat
Type: SysComputedColumnDatePart Enumeration
The granularity at which the date operation is performed, defaulted to days.
Return Value
Type: str
A string expression that is formatted as calculation of date sum.