MINUTE
Extracts the minute component from a given datetime
Description
The MINUTE
function extracts and returns the minute component from a given datetime. This is useful for time-based analysis, scheduling, or reporting on time-related data.
Syntax
MINUTE(datetime
)
datetime
: The datetime from which you want to extract the minute component.
Example
Table
Event
Event DateTime
Event A
2023-09-10 14:30:45
Event B
2023-08-25 08:15:00
Event C
2023-09-01 21:00:20
Function
MINUTE(`Event DateTime`)
Results
MINUTE (integer)
30
15
0
Last updated