hour#

swordfish.function.hour()#

Return the corresponding hour(s).

Parameters:

X (Constant) – A temporal scalar/vector.

Returns:

An integer.

Return type:

Constant