_DateTimeRangeCheck

Characteristic Description

Availability

Date time items

Description

Checks whether a date falls within a specified range of another date.

When you create a rule based on the template, you specify the two date time items, the date part to compare (by default, days), and the minimum and maximum range.

Returns

  • True—Date1 is within the specified range of Date2.
  • False—Date1 is not within the specified range of Date2.

Display text

_CompareDatesWithRange(date1,date2,datePart,rangeMin,rangeMax)