MINUTE(time)
Returns the minute for time, in the range 0 to 59.
SELECT MINUTE('2013-08-03 11:04:03'); +-------------------------------+ | MINUTE('2013-08-03 11:04:03') | +-------------------------------+ | 4 | +-------------------------------+ SELECT MINUTE ('23:12:50'); +---------------------+ | MINUTE ('23:12:50') | +---------------------+ | 12 | +---------------------+
© 2019 MariaDB
Licensed under the Creative Commons Attribution 3.0 Unported License and the GNU Free Documentation License.
https://mariadb.com/kb/en/minute/