Part of the Views ecosystem · 284 projects
This module adds flexible date filtering and argument options to Drupal Views, allowing users to filter content by relative time periods like "this week" or by specific date patterns without needing to manually set absolute dates. It provides reusable plugins that can be easily extended.
This module provides different filters and arguments for date fields within Views.
Using this, you can include a filter on a date field for 'any day this week' without having to specify what 'this week' means in absolute terms.
You can also use it with Views Arguments to select dates by named periods, for example as a year (2021), a year-and-month (202105), a year-and-week (202144) or a year-month-day (20210315) to select any time within the day. The particular pattern to be used must be specified in advance.
The new options are exposed under the Filter Add dialog of views, which now shows additional entries for date and timestamp fields, as shown here:
Such filters can of course be exposed, and results in a multiple-choice select list, as shown:
The module's code is implemented as Views Plugins, and the pattern makes it easy to extend.
Ask your assistant about Views dates
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
No dependencies recorded for this project.
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Views ecosystem
Most installed first