Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views dates

Security covered Maintenance fixes only 418 sites

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.

Activity

Tracked releases
2
Tracked since
Aug 2023
Latest release
1 month ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Releases

Version Type Core PHP Release date
2.1.x-dev Dev 9–11 Sep 25, 2026
2.x-dev Dev 9–10 Aug 22, 2023