GetHour

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.