Drupal is a registered trademark of Dries Buytaert
Protected Pages 3.0.0 Major update available for module protected_pages (3.0.0). Commerce Core 3.3.8 Minor update available for module commerce (3.3.8). Search API HTML Element Filter 1.0.7 Minor update available for module search_api_html_element_filter (1.0.7). Layout Builder Reorder 2.0.1 Minor update available for module layout_builder_reorder (2.0.1). Ban 1.1.0 Minor update available for module ban (1.1.0). Field Formatter Range 2.0.0 Major update available for module field_formatter_range (2.0.0). Field Formatter Range 8.x-1.8 Minor update available for module field_formatter_range (8.x-1.8). UI Patterns (SDC in Drupal UI) 2.0.18 Minor update available for module ui_patterns (2.0.18). Search API Solr 4.3.11 Module search_api_solr updated after 14 months of inactivity (4.3.11). Provus Mega Menu Module provus_mega_menu crossed 1,000 active installs.

Month Year Range

223 sites Security covered
View on drupal.org

This module provides form widgets for selecting a month and year, or just a year, which can streamline data entry for date-related content. It offers flexible ordering options, the ability to set optional year ranges, and smart handling for setting the day of the month.

Month Year Range

Provides form widgets for month/year date selection. Users only need to select month and year (or just year), making data entry more efficient for date-based content.

Features

  • Month Year Range Widget: For date range fields
  • Month Year Datetime Widget: For single datetime fields
  • Flexible ordering: Year/Month, Month/Year, or Year only
  • Optional year ranges: Restrict available years
  • Smart day handling: Auto-set first or last day of month

Installation

Install as any other Drupal module.

Usage

  1. Enable the Month Year Range module
  2. Create a Date or Date Range field
  3. In Form Display Settings, select the appropriate widget:
    • Month Year Range for date range fields
    • Month Year datetime for single date fields

Configuration

  • Date order: Year/Month, Month/Year, or Year only
  • Year range: Optional limits (e.g., 2020:2030, -5:+5)
  • Day options: First or last day of month

Activity

Total releases
2
First release
Nov 2025
Latest release
2 months ago
Releases (12 mo)
2 ▲ from 0
Maintenance
Active

Releases

Version Type Release date
9.1.1 Stable Apr 23, 2026
9.1.0 Stable Nov 22, 2025