search by date created=date modified

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

search by date created=date modified

Post 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
void
Developer
Posts: 16755
Joined: Fri Oct 16, 2009 11:31 pm

Re: search by date created=date modified

Post 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:
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

Re: search by date created=date modified

Post by anmac1789 »

will this also work for the time part with each date field as well ?
void
Developer
Posts: 16755
Joined: Fri Oct 16, 2009 11:31 pm

Re: search by date created=date modified

Post by void »

Yes.
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

Re: search by date created=date modified

Post 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...
void
Developer
Posts: 16755
Joined: Fri Oct 16, 2009 11:31 pm

Re: search by date created=date modified

Post 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
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

Re: search by date created=date modified

Post by anmac1789 »

Can this also be done with date-taken, date-created and date-modified ?
void
Developer
Posts: 16755
Joined: Fri Oct 16, 2009 11:31 pm

Re: search by date created=date modified

Post 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.
void
Developer
Posts: 16755
Joined: Fri Oct 16, 2009 11:31 pm

Re: search by date created=date modified

Post 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:
anmac1789
Posts: 669
Joined: Mon Aug 24, 2020 1:16 pm

Re: search by date created=date modified

Post 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
Post Reply