MySQLDate/Time FunctionsMINUTE
HOUR

MINUTEDate/Time Functions

SECOND

Returns the minute.

Syntax

MINUTE(time)

Example

Enter values below to update the example in real time.

order_id
created_at
minute_part
orders
SELECT order_id, MINUTE(created_at) AS minute_part
FROM orders;