{{tag>Function Function_List Date_And_Time}} ====== DAY_OF_WEEK ====== ===== Description ===== Returns day of week of the provided date as a string ('Monday', 'Tuesday' etc) ===== Syntax ===== ''DAY_OF_WEEK (date)'' ===== Parameters ===== Attribute of the Date type or date constant or calculation producing a date ===== Returns ===== **Text**: the day of the week of the date as a name ('Monday', 'Tuesday', etc.) ===== Example ===== IF DAY_OF_WEEK (Account.OpeningDate) = 'Wednesday' THEN ... ===== Related ===== [[ref:a_f:f:af:day_number_in_week|DAY_NUMBER_IN_WEEK]], [[ref:a_f:f:af:current_day_of_week|CURRENT_DAY_OF_WEEK]], [[ref:a_f:f:af:next_day_of_week|NEXT_DAY_OF_WEEK]]