hourOfDay

Syntax

hourOfDay(X)

Arguments

X is a scalar/vector of type TIME, MINUTE, SECOND, DATETIME, TIMESTAMP, NANOTIME or NANOTIMESTAMP.

Details

For each element in X, return a number from 0 to 23 indicating which hour of the day it falls in.