Time Intrinsic Functions - Hour Method

Return the hour portion of the time

Member of Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)


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


Hour returns the hour portion of the time.


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