This topic has not yet been rated - Rate this topic

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.

Did you find this helpful?
(1500 characters remaining)

Community Additions

ADD
© 2013 Microsoft. All rights reserved.