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 © 2023, Raima Inc. All rights reserved. [4/12/2023 3:25:40 PM]