Built-in Functions → minute

*minute() is a scalar date function that returns the minute component of a date/timestamp as an integer.

Signature

minute(field date)

The following table illustrates the *minute() parameter: | Parameter | Description | |-|-| | field date | an expression evaluating to timestamp |

Returns

int

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.