Time Intrinsic Functions - Adjust Method

Increment or decrement the time

Member of Time Intrinsic Functions (PRIM_LIBI.ITimeIntrinsics)

Parameters

Name Type Data Type Description
Result *Result (Optional) Time Resulting time
Adjustment *Input Integer Number of seconds to adjust by

Details

Adjust increments or decrements a time by the number of seconds specified.

Example

In this example, one hour is added to the current time.
#OneHourLater := #Now.Adjust(3600)

See also

All Component Classes

Technical Reference

LANSA Version 15, April 2020