Gravatar for ken.thomas@qlik.com

Question by ken thomas, Feb 1, 2017 11:23 AM

is w (week) still supported? as a date/time operator

I found this article https://onlinehelp.coveo.com/en/ces/7.0/user/usefulfieldquery_examples.htm which gives this example Example: @date>=now-1w finds all documents created or modified within the last week. the 6.5 page also lists this example.

https://onlinehelp.coveo.com/en/ces/7.0/user/searchprefixand_operators.htm#Date has a section about date time operators and WEEK is not listed anywhere on the page. it lists: "You specify a duration value using the time units suffixes: seconds (s), minutes (m), hours (h), days (d), months (mo) or years (y)."

I cannot get the week example to work. @date>now-5h ---> works. @date>=now-1w ---> does not work.

is the example on https://onlinehelp.coveo.com/en/ces/7.0/user/usefulfieldquery_examples.htm for week no longer supported? if so how do we get that page updated?

1 Reply
Gravatar for dlavoie@coveo.com

Answer by Daniel Lavoie, Feb 1, 2017 11:40 AM

Hi, The week duration was never supported, I will get the documentation updated to reflect this.

Sorry for the confusion.

Gravatar for ken.thomas@qlik.com

Comment by ken thomas, Feb 9, 2017 2:44 PM

thank you!

Gravatar for ken.thomas@qlik.com

Comment by ken thomas, Feb 9, 2017 2:45 PM

I see not possible way for me to mark this as "answered"… is there any such functionality of this community?

Ask a question