WEEK_DIFFERENCE
Description
Calculates the week difference between the two dates as an integer constant
Parameters
Two attributes of the Date type or date constants or calculations producing date
Example
IF WEEK_DIFFERENCE (Account.OpeningDate, Account.ClosingDate) = 2 THEN ...