DaysBefore Function

DaysBefore Function

Description:
The date which is so many whole days before the source date. If the number of days is positive then the resultant date will be before the source date. If the number of days is negative then the resultant date will be after the source date.
Returns:
Date
Parameters:
Parameter
Data Type
Description
1
Date
The source date.
2
Whole Number
The number of whole days before.
Example:
When using functions inside a field, remember the field brackets:
{DaysBefore(AgreementDate, 30)}
Expression
Result
DaysBefore( Date( 2000, 2, 29 ), 60 )
Date( 1999, 12, 31 )