The hour() function determines the hours value in the specified time.
You can also determine the hours value by using the IBM® Netezza® date_part() function.
int1 = hour(time input);
The input value specifies the time.
select hour ('01:12:55');
HOUR
------
1
(1 row)