Skip to main content
drupalreleases

Use direct release data with your AI assistant.

Learn more

HMS Field (Hours Minutes Seconds)

Security covered Maintenance fixes only 1,024 sites

This module provides a field that stores integer values and displays them formatted as hours, minutes, or seconds. It offers predefined formats for input and output, and allows developers to create custom formats.

HMS Field displays an integer formatted as Hours, Minutes or Seconds.

The field stores values as integer. Both input and output can be formatted as Hours, Minutes and/or Seconds. Alter functions provide a way for developers to add their own format.

Formats

Pick one of these formats for input or output:

  • h:mm
  • h:mm:ss
  • m:ss
  • h
  • m
  • s

Or alternatively, use hook_hms_format_alter() to add/edit your own format.

Credits

HMS Field was originally built by Drupal internetbureau .VDMi/ in Rotterdam, The Netherlands.
Drupal 8 initial port is done by Websolutions Agency.
Drupal 8 maintenance + Drupal 9 & 10 development is done by Entityone / make it fly

Drupal 10–11

Ask your assistant about HMS Field (Hours Minutes Seconds)

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

  • field Drupal core

Required by

Tracked projects that depend on this one

No tracked projects depend on this one yet.

Activity

Tracked releases
5
Tracked since
Mar 2023
Latest release
3 weeks ago
Releases (12 mo)
1 ▲ from 0
Maintenance
Active

Release Timeline

Releases

Version Type Core PHP Release date
2.0.2 Stable 10–11 Oct 23, 2026
2.0.1 Stable 9–11 Jun 27, 2024
2.0.0 Stable 9–10 Mar 3, 2023
2.0.x-dev Dev 10–11 Mar 2, 2023
8.x-1.0-beta2 Pre-release 8–9 Mar 2, 2023