IHR
(IHR(
arg
))
Returns the integer hour of time, where
arg
is a value that has a TIME or DATETIME data type.
In the following example, the value of
vihr
is
12
.
SET VAR
vihr
= (IHR(12:15:30))