Hours

sql

FUNCTION Hours(IN tm TIME) RETURNS INT;

Parameters

tm time in the 602SQL internal format

Description

The Hours function extracts the hours count from the specified time. You may also use the general EXTRACT function in SQL.

Function value

The function returns the hours count from 0 to 23.

See