MAKETIME

2023-07-28 02:55:42  Updated

Syntax

MAKETIME(hour,minute,second)

Purpose

MAKETIME() returns a time value based on the specified hour:minute:second arguments. The second argument can have a fractional part.

Examples

obclient> SELECT MAKETIME(12,15,30);
+--------------------+
| MAKETIME(12,15,30) |
+--------------------+
| 12:15:30.000000    |
+--------------------+
1 row in set

Contact Us