MINUTE

functionsupportedCore SQL functions

docs.snowflake.com ↗

Date & time functions

Extracts the corresponding time part from a time, interval, or timestamp value. These functions are alternatives to using the DATE_PART (or EXTRACT) function with the equivalent time part (see Supported date and time parts).

Syntax

HOUR( <time_interval_or_timestamp_expr> )

MINUTE( <time_interval_or_timestamp_expr> )

SECOND( <time_interval_or_timestamp_expr> )

Parameters

NameRequiredDescription
time_interval_or_timestamp_exprrequiredA time, an interval, or a timestamp, or an expression that can be evaluated to one of those data types. An interval argument must be a day and time interval, not a year and month interval.

Returns

This function returns a value of type NUMBER.

Usage notes

See also