MySQL MINUTE() Function
Example
Return the minute part of a datetime value:
SELECT MINUTE("2017-06-20 09:34:00");
Try it Yourself »
Definition and Usage
The MINUTE() function returns the minute part of a time/datetime (from 0 to 59).
Syntax
MINUTE(datetime)
Parameter Values
Parameter | Description |
---|---|
datetime | Required. The time or datetime extract the minute from |
Technical Details
Works in: | From MySQL 4.0 |
---|
More Examples
Copyright 1999-2023 by Refsnes Data. All Rights Reserved.