Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

This module adds filters and arguments to Drupal's Views tool, allowing you to select content based on the day of the week. You can filter for items that fall on specific days, like all Wednesdays, or compare the day of the week of an item's date to a given date.

This module adds filters and arguments for Views to filter by Day of the Week in various ways.

Examples:

  • List meetings that occur on a Wednesday.
  • List concerts that occur on a Saturday or Sunday.
  • List events that occurred on the current day of the week.
  • List bookings that were made for the same day of the week as this booking.

It was created to enable views for a website which needed a list of bookings that were made on a specific weekday (e.g. "Wednesday") in previous weeks: "who has booked on this weekday in the past?".

This module allows a date to be used as an argument to the view, with the day of the week found from that date, and results filtered by a date field where that field has the same day of the week. So, for example: given an argument date that falls on a Monday, the view can display all entities with a date that also falls on a Monday.

Features

Use Filters to show:

  • all items with dates that fall on the same day of the week as today (the day the view is displayed).
  • items with dates that fall on a specified day, or days, of the week.

Use Views arguments to show:

Items with dates that fall on the same day of the week as a given date string argument. Any string recognised as a date by the PHP DateTime() class (https://www.php.net/manual/en/datetime.formats.php) Examples:

  • "2025-09-18" (= "Thursday")
  • "Tomorrow"
  • "Wednesday"

Post-Installation

Enable the module, and make use of the "Weekday" views filters and views arguments. There will be one of each created for each date field defined for your site.

Similar projects

The Views Day of Week module (https://www.drupal.org/project/views_dow) offers some of this module's functionality but needs a special "List (text)" field - it doesn't work with date fields.

Activity

Total releases
1
First release
Sep 2025
Latest release
9 months ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Slowing

Releases

Version Type Release date
7.x-1.x-dev Dev Sep 18, 2025