DAY_DIFFERENCE

Calculates the day difference between the two dates as an integer constant

DAY_DIFFERENCE (date1, date2)

Can be used in the condition of a FIND action.

Two attributes of the Date type or date constants or calculations producing date

Number: the number of days between the two dates, always positive (the order of the dates does not matter)

IF DAY_DIFFERENCE (Account.OpeningDate, Account.ClosingDate) = 3 THEN ...