Skip to content

MINUTE

  • time: This is the time value from which the minute value will be extracted. The ‘time’ input should be in a format that MySQL can recognize as a valid time or datetime type value. The MINUTE() function will then return the minute component of that time value, ranging from 0 to 59.
SELECT MINUTE('2022-03-30 14:25:45');
25

The MINUTE function in MySQL extracts the minute from a given time or datetime value. In the example, it extracts ‘25’ as the minute from ‘2022-03-30 14:25:45’.