Create and return a time value based on an hour, minute, and second value:
SELECT MAKETIME(11, 35, 4);
Try it Yourself »
The MAKETIME() function creates and returns a time based on an hour, minute, and second value.
MAKETIME(
hour,
minute,
second)
Parameter | Description |
---|---|
hour | Required. The hour value |
minute | Required. The minute value |
second | Required. The seconds value |
Works in: | From MySQL 4.0 |
---|
Create and return a time value based on an hour, minute, and second value:
SELECT MAKETIME(16, 1, 0);
Try it Yourself »
Create and return a time value based on an hour, minute, and second value:
SELECT MAKETIME(21, 59, 59);
Try it Yourself »
Create and return a time value based on an hour, minute, and second value:
SELECT MAKETIME(838, 59, 59);
Try it Yourself »
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!