minute
Description
Syntax:
INT MINUTE(DATETIME date)
This function fetches the minute information in the given date and returns a value ranging from 0 to 59.
The parameter is of DATE or DATETIME type.
Example
mysql> select minute('2018-12-31 23:59:59');
+-----------------------------+
| minute('2018-12-31 23:59:59') |
+-----------------------------+
| 59 |
+-----------------------------+
Keywords
MINUTE