This module provides a form widget to simplify entering time range values. It does not store any data itself but enhances the user experience for date range fields that include time.
Time Range
Provide the form widget to fill in the time range. This is just a change to the display form, so that the user doesn't need to enter too much content.
This module not store time data. The storage of time is provided by the core.
Installation
Install the module as every other module.
Usage
- Enable the Time Range module.
- Create a Date Range field, select Day and time as field type.
- To select Time range, go to your content type's Form Display Settings(Manage form display) and select Time Range as Date Range filed's WIDGET.
Because it doesn't require you to fill out the date, the default record is the date of the day. Other tips: If you don't want to see the date on the content's display, go to your content type's display settings and change the Date/Time format in your style.
Compatibility
This module is compatible with Drupal core 8.x, 9.x, 10.x.
Ask your assistant about Time Range
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 Drupal core
- datetime_range Drupal core
Required by
1 tracked project depends on this one
- Login Time Restriction 10 sites