Date Intrinsic Functions - Adjust Method

Increment or decrement the date

Member of Date Intrinsic Functions (PRIM_LIBI.IDateIntrinsics)

Parameters

NameTypeData TypeDescription
Result*Result (Optional)DateResulting date
Adjustment*InputIntegerNumber of days to adjust by

Details

Adjust increments or decrements a date by the number of days specified.

Example

#Tomorrow := #Today.Adjust(1)
or
#Yesterday := #Today.Adjust(-1)

See also

All Component Classes

Technical Reference

Febuary 18 V14SP2