Time.Hour() Method

Version: Available or changed with runtime version 14.0.

Gets the hour component of the time represented by this instance.

Syntax

Hour :=   Time.Hour()

Note

This method can be invoked using property access syntax.

Parameters

Time
 Type: Time
An instance of the Time data type.

Return Value

Hour
 Type: Integer
The hour component, expressed as a value between 0 and 23.

Time Data Type
Getting Started with AL
Developing Extensions