minute
Returns the minute field of a date/timestamp.
Example
Extract the minute field from December 24, 2001 11:55:12.000.
minute(timestamp("2001-12-24 23:55:12.000"))
The minute
function returns 55 in this example.
Syntax
minute(timestamp expr t)
Notes
minute
takes a timestamp
value and returns the minute field from it as an int
.