Drupal is a registered trademark of Dries Buytaert
drupal 11.3.7 Update released for Drupal core (11.3.7)! drupal 11.2.11 Update released for Drupal core (11.2.11)! drupal 10.6.7 Update released for Drupal core (10.6.7)! drupal 10.5.9 Update released for Drupal core (10.5.9)! cms 2.1.1 Update released for Drupal core (2.1.1)! drupal 11.3.6 Update released for Drupal core (11.3.6)! drupal 10.6.6 Update released for Drupal core (10.6.6)! cms 2.1.0 Update released for Drupal core (2.1.0)! bootstrap 8.x-3.40 Minor update available for theme bootstrap (8.x-3.40). menu_link_attributes 8.x-1.7 Minor update available for module menu_link_attributes (8.x-1.7). eca 3.1.1 Minor update available for module eca (3.1.1). layout_paragraphs 2.1.3 Minor update available for module layout_paragraphs (2.1.3). ai 1.3.3 Minor update available for module ai (1.3.3). ai 1.2.14 Minor update available for module ai (1.2.14). node_revision_delete 2.0.3 Minor update available for module node_revision_delete (2.0.3). moderated_content_bulk_publish 2.0.52 Minor update available for module moderated_content_bulk_publish (2.0.52). klaro 3.0.10 Minor update available for module klaro (3.0.10). klaro 3.0.9 Minor update available for module klaro (3.0.9). layout_paragraphs 2.1.2 Minor update available for module layout_paragraphs (2.1.2). geofield_map 11.1.8 Minor update available for module geofield_map (11.1.8).

datetime_extras

1,050 sites Security covered
View on drupal.org

What is the Datetime Extras module?

This aims to be a set of widgets, formatters, and other tools to extend the core Datetime and Datetime Range modules.

Features

"Date and time range with duration" (daterange_duration) widget

Allows content creators to select a start date/time and then optionally define the absolute end time (like the core widget) or to specify a duration (an offset relative to the start date/time). Requires duration_field module, version 8.x-2.0-rc3 or higher:
composer require 'drupal/duration_field:^2.0'
#2845081: Provide a datetime_range widget to define end time via a duration offset

"Select list, no time" (datetime_datelist_no_time) widget

Adds a date-only variant of core's "Select list" (datetime_datelist) widget.
#2823764: Add granularity options

Why do we need this module when Datetime is in core?

The Datetime module in core is really meant to provide a base set of time and date related features. But, it cannot provide everything that site builders need, nor will it ever. The Drupal 7 Date module (and friends) provide a rich set of features, and not all of these can (or should really) be supported by core. This module will provide a home for these needed features.

I have an idea? Will you implement it?

One of the goals of the Datetime Extras module is to try to avoid fragmentation of contrib modules for the Datetime space. So, if you have an idea, create an issue. Another goal, though, is to help mentor contributors to get core quality code into this module (that is why we are recruiting a lot of maintainers for the module). We may not be able to implement your idea right away, but we will be here to help you along the way. See the CONTRIBUTING.md file included with the project for additional information on how to contribute.

What is the relation between Datetime Extras and the Date module?

Datetime Extras is the logical progression of adding Datetime to core. Since the architecture of Drupal 8 (and hence Datetime) is radically different than Drupal 7, this module can mirror what core is doing. It also allows Drupal 7 to continue living without needing to worry about the Drupal 8 version. There will be no D8 port of the Date module. All effort is being focused on core and here in Datetime Extras.

Other D8 date-related projects of interest

date_recur: Support for recurring dates.
date_all_day: Support for "all-day" date ranges.

Activity

Total releases
1
First release
Jul 2025
Latest release
9 months ago
Release cadence
Stability
100% stable

Releases

Version Type Release date
8.x-1.2 Stable Jul 17, 2025