SysQueryRangeUtil::dayRange Method [AX 2012]

Creates a query string that represents a date range that is based on days.

Syntax

client server public static str dayRange([int relativeDaysFrom, int relativeDaysTo])

Run On

Called

Parameters

  • relativeDaysFrom
    Type: int
    The starting date for the range, relative to the session date.
  • relativeDaysTo
    Type: int
    The ending date for the range, relative to the session date.

Return Value

Type: str
A query string that represents a date range.

Remarks

Use positive values for future dates and negative values for prior dates.

See Also

Reference

SysQueryRangeUtil Class