Returns a number representing the day of the week of the date provided. Learn more
The WEEKDAY function is a date and time function used in Google Sheets to determine the day of the week for a given date.
The function takes one mandatory argument, which is the date that you want to find the day of the week for, and one optional argument that specifies the type of return value.
The type argument is an integer between 1 and 3 that determines how the function will return the day of the week.
If type is 1 or omitted, the function will return a number between 0 (representing Sunday) and 6 (representing Saturday).
If type is 2, the function will return a number between 1 (representing Monday) and 7 (representing Sunday).
If type is 3, the function will return a text string that represents the day of the week (e.g., "Sunday", "Monday", etc.).