How specify date range?

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

How specify date range?

Post by burgundy »

How do I specify a date range? For example, between Sept 2019 to Dec 2019 including those months.

I get strange results (including files from many years ago) when I use the following. I am in the UK and my PC is set to use DDMMYYY.
dc:>1/sep/2019 dc:<31/dec/2019
therube
Posts: 4955
Joined: Thu Sep 03, 2009 6:48 pm

Re: How specify date range?

Post by therube »

file: dm:20190901-20191231

(file: if you only want to see files. date format may depend on locale?
I used dm: cause I have that indexed, not dc:.)
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

Re: How specify date range?

Post by burgundy »

therube wrote: Tue Sep 08, 2020 8:30 pm
file: dm:20190901-20191231

(file: if you only want to see files. date format may depend on locale?
That works well. I notice it is mentioned vaguely as "function syntax" on https://www.voidtools.com/support/everything/searching/

The date syntax on that page permits "/" as a delimiter within the date string but that doesn't work. Nor do date constants work (such as "today").

Perhaps that page could be made clearer because a date range is a very useful function.
NotNull
Posts: 5458
Joined: Wed May 24, 2017 9:22 pm

Re: How specify date range?

Post by NotNull »

burgundy wrote: Wed Sep 09, 2020 12:48 am The date syntax on that page permits "/" as a delimiter within the date string but that doesn't work. Nor do date constants work (such as "today").
Does this work for you? (works here):

Code: Select all

file:   dm:01/12/2019..31/12/2019

Code: Select all

file:   dm:lastweek..yesterday

Code: Select all

file:   dm:today
burgundy
Posts: 273
Joined: Fri Oct 16, 2009 9:50 am

Re: How specify date range?

Post by burgundy »

NotNull wrote: Sun Sep 13, 2020 1:31 pm
burgundy wrote: Wed Sep 09, 2020 12:48 am The date syntax on that page permits "/" as a delimiter within the date string but that doesn't work. Nor do date constants work (such as "today").
Does this work for you? (works here):
file: dm:01/12/2019..31/12/2019
file: dm:lastweek..yesterday
file: dm:today
@notnull All your three examples work fine. I will need to study this a bit more closely! Thank you.
Post Reply