4

I have a view which includes a date field, and I'd like to provide a filter for users to show only items from a certain day of the week. From what I can see, though, the date filter only allows you to select the date by which to filter. Is it possible to create a filter which will allow users to show, say, all nodes which have a date that falls on a Wednesday?

  • The date filter will allow you to set the filters by a particular "year" or by particular "month & year" by changing the granularity of date filter settings – user10644 Oct 19 '12 at 7:28
  • Yes I realize that, but I am looking for a way to filter by day of the week. If I select a granularity of "day", the user still has to filter by a particular date, and cannot select "Friday" or "Wednesday". – Mrweiner Oct 19 '12 at 23:41
1

I think you have to use the Views Day of Week module to filter the result by day of week. Here is a quote from it's project page:

... Views Day of Week provides a simple filter plugin for Views 3 to enable filtering content that should be visible based on the current day of the week.

Example: With this module you can select that some content should be visible only on Mondays, some on Tuesdays and Thursdays and some only on Fridays.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.