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 © 2024, Raima Inc. All rights reserved. [2/14/2025]