Limit search by date range

Have a suggestion for "Everything"? Please post it here.
Post Reply
BillCur
Posts: 1
Joined: Thu Nov 21, 2019 12:28 am

Limit search by date range

Post by BillCur »

I would like to m
limit search results to be limited to a range of dates for a given date attribute, eg:
created between current and dd/mm/yyyy
modified before dd/mm/yyyy
etc.
therube
Posts: 5060
Joined: Thu Sep 03, 2009 6:48 pm

Re: Limit search by date range

Post by therube »

dm:12/18/2003-12/31/2003

mm/dd/yyyy, in my case, but that's the general idea.
void
Developer
Posts: 17159
Joined: Fri Oct 16, 2009 11:31 pm

Re: Limit search by date range

Post by void »

Everything will accept dates in the current locale format, eg: DD/MM/YYYY, MM/DD/YYYY or ISO 8601 format.

To specify a range, use the .. separator: <start date>..<end date>
For example, 21st of November 2019 to 26th of November 2019:
dm:2019-11-21..2019-11-26

To specify AFTER a certain date, use the > operator:
For example, after 21st of November 2019:
dm:>2019-11-21

To specify ON or AFTER a certain date, use the >= operator:
For example, on or after 21st of November, 2019:
dm:>=2019-11-21

To specify BEFORE a certain date, use the < operator:
For example, after 21st of November, 2019:
dm:<2019-11-21

To specify ON or BEFORE a certain date, use the <= operator:
For example, on or before 21st of November, 2019:
dm:<=2019-11-21
Post Reply