hourOfDay#

swordfish.function.hourOfDay()#

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

Parameters:

X (Constant) – A scalar/vector of type TIME, MINUTE, SECOND, DATETIME, TIMESTAMP, NANOTIME or NANOTIMESTAMP.