MySQL maketime()函數
MAKETIME(hour,minute,second)
返回從給小時,分鐘和第二個參數計算出的時間值。
mysql> SELECT MAKETIME(12,15,30); +---------------------------------------------------------+ | MAKETIME(12,15,30) | +---------------------------------------------------------+ | '12:15:30' | +---------------------------------------------------------+ 1 row in set (0.00 sec)