PREV_DAY_OF_WEEK
Description
Returns the previous day of the week closest to the specified date
Syntax
PREV_DAY_OF_WEEK (date, day)
Cannot be used in the condition of a FIND action.
Parameters
An expression producing a date and a string identifying the day
Returns
Date: the closest previous date that falls on the named day of the week.
Example
Object.PrevDay = PREV_DAY_OF_WEEK (CURRENT_DATE, 'Tuesday') /** This returns previous Tuesday from current date*/