HOUR (Date) HOUR (Date)

Date

Temporal Temporal

The date to be converted.

Returns

Number Number

The hour of the date (0 through 23).

Returns the hour of a given date, as a number from 0 through 23. See also MINUTE and SECOND for extracting other time components, and TIME for constructing a time from its components.

Example

HOUR ( TIME (1, 25, 2))
HOUR ( TIME (1; 25; 2))

Returns 1, the hour of the time 1:25:02 (1:25 AM).

fxEngine Shell Want this in your own terminal? A standalone version is coming. Get notified.
Loading fxEngine Shell