HOUR function (ODBC compatible)
Syntax
HOUR ( time_expression )
Description
The scalar function HOUR returns the hour in the argument as a short integer value in the range of 0 - 23.
Example
SELECT *
FROM arrivals
WHERE HOUR (in_time) < 12 ;
Notes