dc:DATE + {FOLLOWING PERIOD}

Discussion related to "Everything" 1.5 Alpha.
Post Reply
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

dc:DATE + {FOLLOWING PERIOD}

Post by burgundy »

I want to find documents within a certain date range. At present I use something like this
dc:>05-04-2023 dc:<16-04-2023
Is it possible to specify a starting date and followed by the duration of the subsequent period. So in my example above, the search syntax might be something like this:
dc:=05-04-2023 PLUS 7 days
Does something like this already exist in Everything?
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: dc:DATE + {FOLLOWING PERIOD}

Post by NotNull »

From the Everything Search Syntax
Function syntax
function:value Equal to value.
function:<=value Less than or equal to value.
function:<value Less than value.
function:=value Equal to value.
function:>value Greater than value.
function:>=value Greater than or equal to value.
function:start..end Is in the range of values from start to end.
function:start-end Is in the range of values from start to end.

So use .. or - to create a date range
This works too: dc:last25days..last18days

I am not aware of a syntax like the one you mentioned
void
Developer
Posts: 16670
Joined: Fri Oct 16, 2009 11:31 pm

Re: dc:DATE + {FOLLOWING PERIOD}

Post by void »

dc:>05-04-2023 dc:<16-04-2023

The following search should do the same:

dc:06-04-2023..15-04-2023
(specified values are inclusive)
Post Reply