How to display seconds in file modification time

If you are experiencing problems with "Everything", post here for assistance.
Post Reply
wt345316277
Posts: 2
Joined: Tue Feb 25, 2025 1:59 am

How to display seconds in file modification time

Post by wt345316277 »

How to display seconds in file modification time
now, it display "2025/2/25 10:01".
I want it to display as "2025/2/25 10:01:02"

thanks :D
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to display seconds in file modification time

Post by void »

Copy and paste the following into your Everything search box:

/time_format=HH:mm:ss


Press ENTER in your Everything search box.
wt345316277
Posts: 2
Joined: Tue Feb 25, 2025 1:59 am

Re: How to display seconds in file modification time

Post by wt345316277 »

thanks you, it work
etl
Posts: 16
Joined: Sat Dec 29, 2018 8:37 am

Re: How to display seconds in file modification time

Post by etl »

void wrote: Tue Feb 25, 2025 2:16 am Copy and paste the following into your Everything search box:

/time_format=HH:mm:ss


Press ENTER in your Everything search box.
I like the "t" time marker you explain in time_format, it helps to slightly visually declutter the information on the screen. They way you describe, "One character time-marker string, such as A or P," it sounds like perhaps these strings are customizable. Is that correct? If so, where can one write the custom time marker strings?

If that isn't correct, are you planning to make the strings customizable in the future? If not, may I suggest making the time marker options case-sensitive? For example,
TT
= AM / PM
T
= A / P
tt
= am / pm
t
= a / p
void
Developer
Posts: 19839
Joined: Fri Oct 16, 2009 11:31 pm

Re: How to display seconds in file modification time

Post by void »

Everything uses the Windows GetTimeFormat API to format time.

GetTimeFormat Format:
hHours with no leading zero for single-digit hours; 12-hour clock
hhHours with leading zero for single-digit hours; 12-hour clock
HHours with no leading zero for single-digit hours; 24-hour clock
HHHours with leading zero for single-digit hours; 24-hour clock
mMinutes with no leading zero for single-digit minutes
mmMinutes with leading zero for single-digit minutes
sSeconds with no leading zero for single-digit seconds
ssSeconds with leading zero for single-digit seconds
tOne character time marker string, such as A or P
ttMulti-character time marker string, such as AM or PM
https://learn.microsoft.com/en-us/windows/win32/api/datetimeapi/nf-datetimeapi-gettimeformatex


are you planning to make the strings customizable in the future?
Unlikely, you can set the AM/PM strings under Control Panel -> Region and Language -> Additional settings -> Time -> AM/PM Symbol.



Unrelated, but if you are trying to use a literal t, please escape it with
\t
etl
Posts: 16
Joined: Sat Dec 29, 2018 8:37 am

Re: How to display seconds in file modification time

Post by etl »

void wrote: Wed May 21, 2025 6:55 am Everything uses the Windows GetTimeFormat API to format time.
[...]
Unlikely, you can set the AM/PM strings under Control Panel -> Region and Language -> Additional settings -> Time -> AM/PM Symbol.

Unrelated, but if you are trying to use a literal t, please escape it with
\t
Wow, this is all very educational! Didn't know Everything uses a Windows API for it, and didn't know I could customize the strings within windows itself! Now I have a nice, calming lowercase "am"/"pm" in Everything as well as on my Windows taskbar! Maybe I'll mess around more later and make it a sun/moon emoji...
Post Reply