WEEK_DIFFERENCE

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

WEEK_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 difference between the two dates in weeks.

IF WEEK_DIFFERENCE 
  (Account.OpeningDate, Account.ClosingDate) = 2 THEN ...