AssetTableIntervalExt_JP.numOfYearsBetweenDates Method [AX 2012]
Determines the number of years between the specified from date and to date, including the periods for the from date and to date.
Syntax
public real numOfYearsBetweenDates(AssetTransDate _fromDate, AssetTransDate _toDate)
Run On
Called
Parameters
- _fromDate
Type: AssetTransDate Extended Data Type
The from date.
- _toDate
Type: AssetTransDate Extended Data Type
The to date.
Return Value
Type: real
The number of years.