DRAFTThis page is not published. Only visible in development mode.
datetime module

datetime::hour

Extract the hour (0-23) from a datetime.

Syntax

RQL

Parameters

NameTypeDescription
datetime_valueDatetimeThe datetime to extract the hour from

Return Value

Returns an integer representing the hour (0-23).

Examples

$ Extract hour from datetime
$ ctrl+enter to run

Related Functions