hour

Syntax

hour(X)

Arguments

X is a temporal scalar/vector.

Details

Return the corresponding hour(s). The data type of the result is INTEGER.

Examples

$ hour(2012.12.03 01:22:01);
1

Related functions: date, second, minute, month, year