SearchToDate

Set this parameter to ignore questions that were created after the specified date.

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

  • A date in epoch seconds, for example 1707980400.
  • A date in the format yyyy/MM/dd hh:mm:ss, for example 2024-02-15 07:00:00.
  • 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
Type: Date or relative date (UTC time)
Default:  
Required: No
Configuration Section: TaskName or FetchTasks
Example:

To ignore questions that were created in the last 24 hours:

SearchToDate=-24h

See Also: SearchFromDate