Page 1 of 1

search by date created=date modified

Posted: Thu Oct 29, 2020 10:31 pm
by anmac1789
Hello, is there any function to search for files with the date and time created and date modified and time are equal to each other? thanks

Re: search by date created=date modified

Posted: Thu Oct 29, 2020 10:39 pm
by void
dm:dc:

Note: Date created information is not indexed by default. This search can take several minutes.

To index date created information (which will make this search instant):
  • In Everything, from the Tools menu, click Options.
  • Click the Indexes tab on the left.
  • Check Index date created.
  • Click OK.

Date comparison syntax:
dm:<op>dc:

For example, find files with the date modified earlier than the date created:
dm:<dc:

dm:dc: is the same as dm:=dc: is the same as dm:==dc:

Re: search by date created=date modified

Posted: Thu Oct 29, 2020 10:50 pm
by anmac1789
will this also work for the time part with each date field as well ?

Re: search by date created=date modified

Posted: Thu Oct 29, 2020 11:16 pm
by void
Yes.

Re: search by date created=date modified

Posted: Thu Jan 13, 2022 7:34 am
by anmac1789
It seems like since everything 1.5a release, I cannot use dc:=dm: instead, I have to use date-created:=date-modified: instead. I would like to extend this functionality to search for a specific date while also making sure the date created and date modified are equal to each other. How can I do that ? Thanks...

Re: search by date created=date modified

Posted: Thu Jan 13, 2022 11:41 am
by void
Have you created a filter or bookmark macro with the name dc?

For the best performance, please make sure you enable date create indexing from Tools -> Options -> Indexes -> Index date created.


Include the date in date-created: or date-modified: search, for example:

date-created:=date-modified: date-created:2022-01-13

Re: search by date created=date modified

Posted: Fri Jan 14, 2022 6:36 am
by anmac1789
Can this also be done with date-taken, date-created and date-modified ?

Re: search by date created=date modified

Posted: Fri Jan 14, 2022 6:38 am
by void
Currently, no.
Next alpha update: yes.

I have reworked the eval: search function so the following will be possible in the next alpha update:

eval:#dm:==#date-taken:


I'll make another post here once this is ready for testing.


I have put dm:==date-taken: on my TODO list. -This might be tricky to do as there's a lot of code paths already for dm:==dc:
Thanks for the suggestion.

Re: search by date created=date modified

Posted: Fri Jan 21, 2022 6:18 am
by void
Everything 1.5.0.1297a adds an eval: search function.

Please try the following search:
*.jpg eval:#dm:==#date-taken:


I am working on adding the simpler syntax: dm:==date-taken:

Re: search by date created=date modified

Posted: Fri Jan 21, 2022 8:25 am
by anmac1789
Thank you so much! as time goes on and if there's anything that can be improved I will get back to you