Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

Views Date Range Filters

Security covered Under active development 1,993 sites

Part of the Views ecosystem · 280 projects

This module provides Views filter options for date range fields. It allows you to filter content based on whether a date range includes, overlaps with, or ends by a specified date.

Adds filter options for date range fields. Install and rebuild cache to see the options.

It will be obsolete when this core issue is resolved: #2924061: Create views filter plugin for date range fields

For more information see this discussion: #3068036: Does this cover all parts of the patch and vice-versa?

Includes

Filters by date ranges which include the supplied date.

  1. Add filter on the date range field
  2. Select operator "Includes"
  3. Modify date options as required

Includes (Unbound) (Version 2.x+)

Filters by date ranges which include the supplied date, properly handling ranges that do not have an end date defined (optional end date).

  1. Add filter on the date range field
  2. Select operator "Includes (Unbound)"
  3. Modify date options as required

The Includes (Unbound Indexed) operator does not apply the DATEFORMAT function in the query WHERE condition, which enables database index usage and results in better performance.

Overlaps

Filters by date ranges which overlap with the supplied date range.

  1. Add filter on the date range field
  2. Select operator "Overlaps"
  3. Modify date options as required

Ends by

Filters by date ranges which end by the supplied date. Equivalent to "End date <= supplied date". Useful for grouped filters when using "Start date". See screenshot below.

Drupal 10–11

Ask your assistant about Views Date Range Filters

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

  • datetime_range Drupal core
  • views Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
6
Tracked since
Feb 2023
Latest release
8 months ago
Releases (12 mo)
4 ▲ from 1
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.0 Stable 10–11 Jan 19, 2026
2.0.0-rc2 Pre-release 10–11 Dec 19, 2025
2.0.0-rc1 Pre-release 10–11 Dec 17, 2025
2.x-dev Dev 10–11 Dec 17, 2025
8.x-1.0-alpha3 Pre-release 8–11 Feb 3, 2025
8.x-1.0-alpha2 Pre-release 8–10 Feb 16, 2023