SysQueryRangeUtil::yearRange Method [AX 2012]
Creates a query string that represents a date range that uses years.
Syntax
client server public static str yearRange([int relativeYearsFrom, int relativeYearsTo])
Run On
Called
Parameters
- relativeYearsFrom
Type: int
The starting value of the range, relative to the current year.
- relativeYearsTo
Type: int
The ending value of the range, relative to the current year.
Return Value
Type: str
A query string that represents the date range between dates.
Remarks
The query range will be based on the calendar year.