MessageMaxDate

The MessageMaxDate parameter filters messages (and other types of item such as calendar items and tasks) by their modified date. The connector only retrieves items that were modified before the specified date.

Specify the date in UTC time using one of the following formats:

  • A date in the format yyyy/MM/dd hh:mm:ss, for example 2014/05/29 00:00:00.
  • A date in epoch seconds, for example 1401364800.
  • A relative date, starting with the character ‘-’ followed by a time duration. The time duration is relative to the time when the task begins, which results in a rolling limit. Relative dates support the units year(s), month(s), week(s), day(s), hour(s), minute(s), and second(s). You can shorten the value by abbreviating the units to their first letter (months abbreviates to m, minutes to n). For example:

       -3months 1week
       -3m 1w

    A single value without a unit is read in seconds, so the following are equivalent:

       -1day
       -86400s
       -86400

    Positive values are accepted if they begin with the character '+', but be aware that positive values represent times in the future.

Type: Date or relative date (UTC time)
Default:  
Required: No
Configuration Section: TaskName or FetchTasks
Example:

To retrieve items that are at least 12 hours old:

MessageMaxDate=-12h

See Also: MessageMinDate