Recommended releases

Download Released

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.


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.


  • Install this module using the official Backdrop CMS instructions at

  • Add a field to an entity and select "Hours Minutes and Seconds" as field type.


Bugs and Feature requests should be reported in the Issue Queue:

Current Maintainers



This project is GPL v2 software.
See the LICENSE.txt file in this directory for complete text.