time_format
time_format
Is Everything can display the time in the format: HH:mm:ss:ms:ns (milliseconds and nanoseconds)
Re: time_format
Only Hours, minutes and seconds:
Code: Select all
h Hours with no leading zero for single-digit hours; 12-hour clock
hh Hours with leading zero for single-digit hours; 12-hour clock
H Hours with no leading zero for single-digit hours; 24-hour clock
HH Hours with leading zero for single-digit hours; 24-hour clock
m Minutes with no leading zero for single-digit minutes
mm Minutes with leading zero for single-digit minutes
s Seconds with no leading zero for single-digit seconds
ss Seconds with leading zero for single-digit seconds
t One character time marker string, such as A or P
tt Multi-character time marker string, such as AM or PM
Re: time_format
A Help file is the entry:
- what does it mean?
Code: Select all
YYYY[-MM[-DD[THH[:MM[:SS[.sss]]]]]]
Code: Select all
.sss
Re: time_format
This format is for searching for dates, not displaying dates.
it's actually ss.sss, meaning you can use a decimal place in the seconds.
https://en.wikipedia.org/wiki/ISO_8601
Everything only supports 3 decimal places after seconds, ie: milliseconds.
it's actually ss.sss, meaning you can use a decimal place in the seconds.
https://en.wikipedia.org/wiki/ISO_8601
Everything only supports 3 decimal places after seconds, ie: milliseconds.
Re: time_format
I thought that it can display the milliseconds and nanoseconds if Windows just keeps time. Too bad.
Re: time_format
I guess you urgently need the nanoseconds of file timesalazor wrote:I thought that it can display the milliseconds and nanoseconds if Windows just keeps time. Too bad.
Re: time_format
nanoseconds? seriously... some people.
how about yoctoseconds?
how about yoctoseconds?
Re: time_format
I'll suspect that was added when added iso 8601 syntax for dates and time was recently added.YYYY[-MM[-DD[THH[:MM[:SS[.sss]]]]]]
And the quoted text was just copied verbatim, from somewhere, even though the :SS.sss aren't actually being used. (Oh, I see, void already explained that.)
Heh.yoctoseconds
I had to look that one up. Guess we have a scientist in our midst .
Re: time_format
Everything uses the OS function GetTimeFormat to format time. The limitation lies with that call. Everything would need to implement it's own time formatting to display milliseconds, microseconds or nanoseconds.
Everything stores dates and times as FILETIMEs with 100-nanosecond accuracy, so it's more than capable of displaying milliseconds, microseconds and even some nanosecond information.
GetTimeFormat uses SYSTEMTIMEs to format times.
Resolution is lost when converting from FILETIMEs to SYSTEMTIMEs, SYSTEMTIMEs only have millisecond accuracy.
How about a simple ini flag that lets you append the milliseconds as .sss?
Everything stores dates and times as FILETIMEs with 100-nanosecond accuracy, so it's more than capable of displaying milliseconds, microseconds and even some nanosecond information.
GetTimeFormat uses SYSTEMTIMEs to format times.
Resolution is lost when converting from FILETIMEs to SYSTEMTIMEs, SYSTEMTIMEs only have millisecond accuracy.
How about a simple ini flag that lets you append the milliseconds as .sss?
Re: time_format
I don't see the real need for displaying milliseconds but an ini flag is fine for time freaks.void wrote:Everything uses the OS function GetTimeFormat to format time. The limitation lies with that call. Everything would need to implement it's own time formatting to display milliseconds, microseconds or nanoseconds.
Everything stores dates and times as FILETIMEs with 100-nanosecond accuracy, so it's more than capable of displaying milliseconds, microseconds and even some nanosecond information.
GetTimeFormat uses SYSTEMTIMEs to format times.
Resolution is lost when converting from FILETIMEs to SYSTEMTIMEs, SYSTEMTIMEs only have millisecond accuracy.
How about a simple ini flag that lets you append the milliseconds as .sss?
Re: time_format
It fits me option in the ini - only if you can ":sss" instead of ".sss"
Re: time_format
Got to ask, what's your use case for milliseconds?
And why do you want :sss rather then (I'm guessing what is standard) .sss?
(Suppose its actually .mmm.)
And why do you want :sss rather then (I'm guessing what is standard) .sss?
(Suppose its actually .mmm.)
Re: time_format
Added support for SSS (milliseconds) to the time_format ini setting.
There is one limitation: SSS MUST appear at the end of the format!
For example:
hh:mm:ss.SSS
Please note: not all files have millisecond information, eg: files from FAT volumes, certain unzipped files.
http://www.voidtools.com/Everything-1.4.1.777b.x86.zip
http://www.voidtools.com/Everything-1.4.1.777b.x64.zip
There is one limitation: SSS MUST appear at the end of the format!
For example:
hh:mm:ss.SSS
Please note: not all files have millisecond information, eg: files from FAT volumes, certain unzipped files.
http://www.voidtools.com/Everything-1.4.1.777b.x86.zip
http://www.voidtools.com/Everything-1.4.1.777b.x64.zip
Re: time_format
Thanks a lot ,It's working well.
Re: time_format
Interesting - on FAT actually not shows milliseconds (which I knew) - but for the modification date, and for a creation date millisecond are displayed.
Could creation date on the FAT was recorded as FILETIMEs
Could creation date on the FAT was recorded as FILETIMEs
Re: time_format
Date modified has a resolution of 2 seconds.
Creation date has a slightly higher resolution of 10ms.
https://en.wikipedia.org/wiki/File_Allocation_Table
Under date resolution.
Creation date has a slightly higher resolution of 10ms.
https://en.wikipedia.org/wiki/File_Allocation_Table
Under date resolution.