END_OF_WEEK

Returns a date being Sunday of the week that the parameter date represents

END_OF_WEEK (date)

Cannot be used in the condition of a FIND action.

Attribute of the Date type or date constant or calculation producing Date

Date: the Sunday of the week containing the given date.

Account.EndOfWeek = END_OF_WEEK(CURRENT_DATE)