Description
Returns the hour of a day from a datetime expression.Syntax
GetHour(datetime_expression)
Examples
GetHour(ToDate('2013-09-10T08:02:31.667Z')) returns 8
Extract the hour component (0 through 23) from a datetime expression. Use GETHOUR for time-based filtering and data grouping in ETL pipelines.
GetHour(datetime_expression)
GetHour(ToDate('2013-09-10T08:02:31.667Z')) returns 8
Was this page helpful?