Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
This project is not covered by Drupal’s security advisory policy.
A simple time period widget and formatter for time periods stored in seconds.
Time periods can be entered using multiple units, whereas the module currently allows
using days, hours, minutes and seconds. Each unit can be enabled separately
and the maximum value and step size can be configured.
Similar modules
- Duration: Duration is a fully fledged API coming with suiting form elements and a CCK field (currently D6 only). The Duration module handles durations including the complex cases of durations specified in years and months, which need special treatment if applied to a date. Thus the duration module comes with its own storage for durations, whereas Time period just cares about the simple case of durations stored in seconds.
- Interval Field: The Interval Field stores intervals as given (e.g. 3 days), whereas Time period just works with an integer field containing the duration stored in seconds. Also, the interval field allows specifying intervals only using one unit (e.g. 4 hours), whereby Time-period allows specifying multiple units at once; e.g. "4 hours, 20 minutes".
Maintainers
Initial development has been sponsored by doloops.net.
Project information
- Minimally maintained
Maintainers monitor issues, but fast responses are not guaranteed. - Maintenance fixes only
Considered feature-complete by its maintainers. - Module categories: Site Structure
- 508 sites report using this module
- Created by fago on , updated
- This project is not covered by the security advisory policy.
Use at your own risk! It may have publicly disclosed vulnerabilities.