Meaning of "thisweek" and "lastweek" in search syntax

If you are experiencing problems with "Everything", post here for assistance.
burgundy
Posts: 27
Joined: Fri Oct 16, 2009 9:50 am

Meaning of "thisweek" and "lastweek" in search syntax

Postby burgundy » Sun Apr 02, 2017 9:46 am

I am a bit confused about how to use these terms when searching: <last|past|prev|current|this|coming|next><year|month|week>

"WEEK" --- Is the term "week" used in the sense of always having a defined starting day? Such as Sunday or Monday.

"LAST" --- Does "lastweek" mean the last 7 days counted from today OR does it mean the most recent period of 7 days that begins with the defined starting day?

"THIS" --- Does "thisweek" also mean the last 7 days counted from today OR does it mean the week so far up to today, starting from the defined starting day?

void
Site Admin
Posts: 3126
Joined: Fri Oct 16, 2009 11:31 pm

Re: Meaning of "thisweek" and "lastweek" in search syntax

Postby void » Sun Apr 02, 2017 10:21 am

"WEEK" --- Is the term "week" used in the sense of always having a defined starting day? Such as Sunday or Monday.


Yes.
The starting date of the week is determined by your Windows setting "First day of week", which can be found in the Control Panel, under Region and Language, under the Formats tab.

"LAST" --- Does "lastweek" mean the last 7 days counted from today


No

OR does it mean the most recent period of 7 days that begins with the defined starting day?


Yes, exactly.


"THIS" --- Does "thisweek" also mean the last 7 days counted from today


No.

OR does it mean the week so far up to today, starting from the defined starting day?


Yes.

If you want to search for the last 7 days, use the time syntax: last7days
For example: files modified in the last 7 days:
dm:last7days


Return to “Support”