{{tag>Index Function Function_List Date_And_Time}} ====== DAY_NUMBER_IN_WEEK ====== ===== Description ===== Returns day of week of the provided date (1 for Sunday, 2 for Monday etc) ===== Parameters ===== Attribute of the Date type or date constant or calculation producing date ===== Example ===== IF DAY_NUMBER_IN_WEEK (Account.OpeningDate=1) THEN ...