Hour method (date)

Gets the hour for this date.

Syntax

date.Hour

Returns the hour component of date, expressed as a number between 0 and 23.

Example

The hour is: {{ CurrentDate.Hour }}

The above example would output: The hour is: 16