Template:24 h to 12 h/doc

This template converts a time from 24-hour to 12-hour format.

It accepts one optional unnamed parameter. If the parameter is absent or neither a valid time nor number, the template returns the UTC at the time the page was generated.



The parameter can be a plain hour.



The parameter can be an hour and minutes.



The parameter can be an hour, minutes and seconds.