Time Intrinsic Functions - Hour Method

Return the hour portion of the time

Member of Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)

Parameters

Name Type Data Type Description
Result *Result (Optional) Integer Resulting number

Details

Hour returns the hour portion of the time.

Example

In this example, if #Now is 12:34:56 and the result would be 12.
#Result := #Now.Hour

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020