MINUTE()

Overview

Returns the minutes for a time.

USAGE

MINUTE(timestamp)

Argument Name

Description

timestamp

The TIME or DATETIME to evaluate

DETAILS

MINUTE() is a date-time function that returns the minutes for a time or datetime expression.

The return value is a number in the range 0 to 59.

A NULL is returned if the argument is NULL.

SYNONYMS

SCHEMA

PARAMETERS

SKYSQL

PRIVILEGES

EXAMPLES

SELECT MINUTE('2020-01-03 10:59:01'), MINUTE('10:00:01');
+-------------------------------+--------------------+
| MINUTE('2020-01-03 10:59:01') | MINUTE('10:00:01') |
+-------------------------------+--------------------+
|                            59 |                  0 |
+-------------------------------+--------------------+

ERROR HANDLING

FEATURE INTERACTION

RESPONSES

DIAGNOSIS

ISO 9075:2016

CHANGE HISTORY

Release Series

History

23.09

  • Present starting in MariaDB Xpand 23.09.1.

6.1

  • Present starting in MariaDB Xpand 6.1.0.

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.0

  • Present starting in MariaDB Xpand 6.0.3.

5.3

  • Present starting in MariaDB Xpand 5.3.13.

Release Series

History

6.1

  • Present starting in MariaDB Xpand 6.1.0.

EXTERNAL REFERENCES