Parameter | Type |
---|---|
value | datetime, time, datetimestamp |
Returns: integer
Example
query:
SELECT MINUTES(CAST("2018-01-02T10:41:26" as DATETIME))
results:
minutes |
---|
41 |
The date function used to return the minutes value of a date, time, or datetime value.
Parameter | Type |
---|---|
value | datetime, time, datetimestamp |
query:
SELECT MINUTES(CAST("2018-01-02T10:41:26" as DATETIME))
results:
minutes |
---|
41 |
AT_TIME_ZONE
, DATE_ADD
, DATE_COMPARE
, DATE_DIFF
, DATE_FORMAT
, DATE_PARSE
, DATE_PART
, DATE_SUB
, DATE_TRUNC
, DAY
, HOURS
, MONTH
, NOW
, SECONDS
, YEAR