MINUTE

MINUTE(time)[source]

Extracts the minute component from a time or array of times.

The MINUTE function returns the minute from the provided time. It supports both single times and arrays of times, returning an integer or an integer array accordingly.

Parameters:

time (Operand) –

The time or array of times from which to extract the hour.

Supported types:

  • TIME

  • DATETIME

  • TIME_ARRAY

  • DATETIME_ARRAY

Return type:

Formula

Returns:

The minute as an integer or array of integers.

Supported types:

  • INTEGER

  • INTEGER_ARRAY

Raises:

ValueError – If the input is not a time type.

Examples

MINUTE(TIME(14, 32, 53))
# Returns 32