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.

Return Value

Type: str
A string expression that is formatted as calculation of date sum.

See Also

Reference

SysComputedColumn Class