Return the minute part of a datetime value:
SELECT MINUTE("2017-06-20 09:34:00");
Try it Yourself »
The MINUTE() function returns the minute part of a time/datetime (from 0 to 59).
MINUTE(
datetime)
Parameter | Description |
---|---|
datetime | Required. The time or datetime extract the minute from |
Works in: | From MySQL 4.0 |
---|
截取页面反馈部分,让我们更快修复内容!也可以直接跳过填写反馈内容!