Platform SDK: Exchange Server

RANGE

You can use the RANGE property to specify a time range for some objects. For example, a SCHEDULE object must always have a time range that specifies the times between which appointments are printed. An APPTS object can also have a time range, but it might be one that specifies appointments before a certain time.

The range for which a set of a appointments prints can be changed by using the RANGE command, which has the following format:

RANGE    BEFORE,{time},AND|OR,AFTER,{time}

Times are specified in 24-hour format, with a colon (:) as the separator. The AND/OR specifier allows the range to be AFTER time x AND before time y for an inclusive range, or BEFORE time y OR AFTER time x for a fragmented range.

In addition to specifying a time, you can also use the STARTTIME or ENDTIME parameter to specify the user's preferred start-of-work-day and end-of-work-day. The following syntax prints all the appointments outside of the start or end time:

RANGE    BEFORE,STARTTIME,OR,AFTER,ENDTIME