How to: |
The HOUR function returns the hour field from a time or timestamp value.
HOUR(arg)
where:
Time or timestamp
Is the input value.
This function returns an integer value.
HOUR returns the hour from a time or timestamp. This example,
HOUR('11:22:33')
returns 11.
This example,
HOUR('2001-01-22 10:00:00')
returns 10.
iWay Software |