🏠Data ModelingFunction ListWEEKDAYOn this pageWEEKDAYReturns a number representing the day of the week of the date provided.SyntaxWEEKDAY(<date>)ParameterTypeDescriptiondateDateThe date for which to determine the day of the week.Return valuesIntegerExamplesWEEKDAY(DATE(2022, 5, 12))WEEKDAY(orders.processed_at)Related functionsYEARMONTHHOUR