dm:last10days

General discussion related to "Everything".
Post Reply
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

dm:last10days

Post by NotNull »

Just want to make sure of something:

When using dm:last10days (for example), is the following the algorithm Everything uses?

- Get current date/time (in FILETIME, so 133289173526942916 "ticks")
- substract 10 days (in FILETIME, so 10 days * 24 hours * 60 minutes * 60 seconds * 10 million "ticks")
- All date modified FILETIMES larger than the result of that will be reported.

Basically want to know if the day starts at 00:00 or at the current time@different day
(either answer is fine; just want to know)
void
Developer
Posts: 16751
Joined: Fri Oct 16, 2009 11:31 pm

Re: dm:last10days

Post by void »

10 days (as ticks - 10 days * 24 hours * 60 minutes * 60 seconds * 10 million "ticks") from the current tick.

So current time@different day
NotNull
Posts: 5461
Joined: Wed May 24, 2017 9:22 pm

Re: dm:last10days

Post by NotNull »

Thank you!
Post Reply