> ## Documentation Index
> Fetch the complete documentation index at: https://www.integrate.io/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# ETL: GetHour

> Extract the hour component (0 through 23) from a datetime expression. Use GETHOUR for time-based filtering and data grouping in ETL pipelines.

## 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

## Return value datatype

Integer

## Impact of null value

If input is null, returns null.
