Global::dateIntervalDisplay Method [AX 2012]

Creates a string representation of an interval of dates, formatted for display purposes.

Syntax

client server public static DateInterval dateIntervalDisplay(date _dateFrom, date _dateTo)

Run On

Called

Parameters

  • _dateFrom
    Type: date
    The starting date of the interval.
  • _dateTo
    Type: date
    The ending date of the interval.

Return Value

Type: DateInterval Extended Data Type
A string that contains the formatted date interval.

Remarks

The dates are formatted according to the regional settings of the client.

See Also

Reference

Global Class