TIME_FORMAT
Format a time. This function formats a time value according to a format string, similar to DATE_FORMAT but for time values.
Syntax
TIME_FORMAT(time,format)Description
Examples
SELECT TIME_FORMAT('100:00:00', '%H %k %h %I %l');
+--------------------------------------------+
| TIME_FORMAT('100:00:00', '%H %k %h %I %l') |
+--------------------------------------------+
| 100 100 04 04 4 |
+--------------------------------------------+Last updated
Was this helpful?

