Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

YMD Date - Pre Epoch, Partial Date Values

Security covered Under active development 130 sites

This module adds a date field that supports dates before 1970 and allows for storing only the year, or year and month, or the full date. It stores dates in a sortable YYYYMMDD format and provides a formatter to display dates using standard Drupal formats. The field widget allows users to select a range of years for input.

This module provides a date field which allows dates prior to epoch (1970) and allows values of year only, year/month, or year/month/day. The date value is stored in the format YYYYMMDD which allows natural sorting. When no month or day selections are made, 00 is stored in their place.

A formatter is included which displays the date using the standard Drupal date/time formats of your choice.

The included field widget allows selection of the beginning year and the year selector displays a range from this beginning year to the current year.

A year-only token is also included to provide an example.

Drupal 8–11

Ask your assistant about YMD Date - Pre Epoch, Partial Date Values

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
Feb 2023
Latest release
1 year ago
Releases (12 mo)
0 ▼ from 1
Maintenance
Active

Releases

Version Type Core PHP Release date
1.0.2 Stable 8–11 Sep 15, 2025
1.0.1 Stable 8–10 Feb 10, 2023