MySQL MINUTE() Function
Clash Royale CLAN TAG#URR8PPP
<!--
main_leaderboard, all: [728,90][970,90][320,50][468,60]-->
MySQL MINUTE() Function
❮ MySQL Functions
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
Example
Return the minute part of a time value:
SELECT MINUTE("23:59:59");
Try it Yourself »
❮ MySQL Functions