How specify date range?

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

How specify date range?

Post by burgundy » Tue Sep 08, 2020 7:59 pm

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: 2683
Joined: Thu Sep 03, 2009 6:48 pm

Re: How specify date range?

Post by therube » 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?
I used dm: cause I have that indexed, not dc:.)

burgundy
Posts: 120
Joined: Fri Oct 16, 2009 9:50 am

Re: How specify date range?

Post by burgundy » Wed Sep 09, 2020 12:48 am

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: 2294
Joined: Wed May 24, 2017 9:22 pm

Re: How specify date range?

Post by NotNull » 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):

Code: Select all

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

Code: Select all

file:   dm:lastweek..yesterday

Code: Select all

file:   dm:today

Post Reply