New Criteria Condition: Days of Week

As promised, a new criteria condition has been added that allows you to filter your criteria based on the days of the week.

Filter Player Activity by the Days of the Week ?

As promised when we blogged about dayOfWeek, r4nkt has just introduced another criteria condition: daysOfWeek. As its name suggests, it allows users to filter out any player activities that did not occur on the specified days of the week.

How does it work? ?

As with the rest of our criteria conditions, it is quite simple to use. You simply add the condition to whichever criterion or criteria group that makes sense, including the numbers for the specific days of the week that you're interested in, e.g., daysOfWeek:1,7.

The criteria condition's "arguments" can be one or more of the following values:

Value Day
1 Sunday
2 Monday
3 Tuesday
4 Wednesday
5 Thursday
6 Friday
7 Saturday

Some examples:

  • weekends: daysOfWeek:1,7
  • weekdays: daysOfWeek:2,3,4,5,6

That's all there is to it...! ?

Coming Soon

We maintain a list of criteria conditions that we hope to add going forward. If you want to know what they are, if you want to be notified when new ones are added, if you'd like to suggest one, or if you'd just like to be kept abreast of what we're doing, then follow us on twitter. We'll keep you posted. ?