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