bugl
bugl
HomeLearnPatternsSearch
HomeLearnPatternsSearch

Loading lesson path

Learn/SQL/SQL References
SQL•SQL References

MySQL MINUTE() Function

Concept visual

MySQL MINUTE() Function

Pointer walk
two pointers
leftright102132436485116
left=0
right=6
1
3

Start at both ends

Example

Return the minute part of a datetime value: SELECT MINUTE("2017-06-20 09:34:00");

Definition and Usage

Formula

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");

Previous

❮ MySQL Functions

Next

Previous

MySQL MICROSECOND() Function

Next

MySQL MONTH() Function