Returns the hour field of a date/timestamp.
Extract the hour field from December 24, 2001 11:55:12.000.
This example produces 23.
hour(timestamp expr t)
- t : expression evaluating to
hour takes a
timestamp value and returns the hour field from it as an