Date modified column

Found a bug in "Everything"? report it here
Post Reply
cata_solo
Posts: 51
Joined: Mon Nov 28, 2022 4:38 pm

Date modified column

Post by cata_solo »

Steps to reproduce this issue:

1. Sort the results in the Everything window by the Date modified column in descending order.

2. Create a folder on the Desktop and named it Parent. It appears immediately in Everything.

3. Open the folder and create a new folder named it Child. Look in the Everything window.

The order is not correct, the first row should be Child, the second Parent, but Everything put Parent first and Child second.

If we look at the Properties of the two folders, we find the following:

Child: Monday, January 22, 2024, 18:57:39
Parent: Monday, January 22, 2024, 18:57:07

Looking at the time, if the sorting is descending, the Child folder should be the first in the list, but it doesn't happen that way. Most probably, Everything does not evaluate the seconds to determine which is the newer of the two at the same hour and minute.
cata_solo
Posts: 51
Joined: Mon Nov 28, 2022 4:38 pm

Re: Date modified column

Post by cata_solo »

I forgot to mention that I am using "Mix Files and Folders" features from View > Sort By menu.
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Date modified column

Post by void »

While this might not be desired, this is expected.

When you rename the second folder to Child, the date modified of the Parent folder is updated.

Both the Child and Parent folders will have the same date modified.


If we look at the Properties of the two folders, we find the following:

Child: Monday, January 22, 2024, 18:57:39
Parent: Monday, January 22, 2024, 18:57:07
The Windows Property page shows the date created.

Is Everything showing the incorrect date modified for you?



Consider indexing date created (Tools -> Options -> Indexes -> Index date created) and showing the Date Created column (Right click result list column header -> Date Created)
cata_solo
Posts: 51
Joined: Mon Nov 28, 2022 4:38 pm

Re: Date modified column

Post by cata_solo »

Thank you void. Modified dates are correct for both folders.

My confusion was related to whether or not Everything takes into account the seconds of the date. Of course it should, in order to sort correctly.
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Date modified column

Post by void »

To show seconds in your date modified time format:
  • Copy and paste the following into your Everything search box:
    /time_format=HH:mm:ss
  • Press ENTER in your Everything search box.
  • If successful, time_format=HH:mm:ss is shown in the status bar for a few seconds.


To show seconds and milliseconds in your date modified time format:
  • Copy and paste the following into your Everything search box:
    /time_format=HH:mm:ss.SSS
  • Press ENTER in your Everything search box.
  • If successful, time_format=HH:mm:ss.SSS is shown in the status bar for a few seconds.


To show the full 100 nano second resolution in your date modified time format:
  • Copy and paste the following into your Everything search box:
    /time_format=HH:mm:ss.SSSSSSS
  • Press ENTER in your Everything search box.
  • If successful, time_format=HH:mm:ss.SSSSSSS is shown in the status bar for a few seconds.


time_format



Are the seconds shown in Everything out of order?
cata_solo
Posts: 51
Joined: Mon Nov 28, 2022 4:38 pm

Re: Date modified column

Post by cata_solo »

Thank you. Very useful information.

As I anticipated, it is not a problem in Everything, because it takes into account the modification date, which is not limited to the hour and minute as it appears in the window. By design, Windows updates the modification date first for what I actually modified, then for the parent directory. By viewing the seconds, this aspect is obvious.
Thy Grand Voidinesss
Posts: 687
Joined: Wed Jun 01, 2022 5:01 pm

Re: Date modified column

Post by Thy Grand Voidinesss »

void wrote: Wed Jan 24, 2024 10:06 pm To show seconds
[...]
milliseconds
[...]
full 100 nano second resolution in your date modified time format
[...]
But are users by default forced to show seconds to themselves in order for them to be taken into consideration when sorting by date & time - or is Everything looking also at milliseconds when sorting item even when they are not being shown?
void
Developer
Posts: 16680
Joined: Fri Oct 16, 2009 11:31 pm

Re: Date modified column

Post by void »

Everything sorts by FILETIME (100 nanoseconds), no matter what format you are using.
Thy Grand Voidinesss
Posts: 687
Joined: Wed Jun 01, 2022 5:01 pm

Re: Date modified column

Post by Thy Grand Voidinesss »

Good to know

Thank you for the info
Post Reply