Return the hour
Syntax
hour(dt_expr)
Arguments
Description
This function returns the hour component in the specified time expression as a number between 0 and 23.
Example
select hour(curtime()) as "Current Hour"; Current Hour 17
Copyright © 2020, Raima Inc. All rights reserved. [7/21/2020 12:09:43 PM]