DateTimeUtil::addYears Method

Dynamics AX 2009

Adds the specified number of years to a utcdatetime value.


client server public static utcdatetime addYears(utcdatetime t, int value)

Called

Parameter

Description

t

A utcdatetime to which to add years.

value

The number of years to add.

A new utcdatetime value.

If the value of the value parameter is negative, years will be subtracted.

Community Additions

ADD
Show: