Overview
Syntax | WEEKDAY(Serial_number) | Returns the day of the week corresponding to a date. Returns an integer, ranging from 0 (Sunday) to 6 (Saturday). |
Parameter | Serial_number | Represents the date entered. Despite the text and date types, the Serial_number parameter can also be of the serial number type of the1900 date system for extracted data. For example, 35796 represents 1998-01-01. The Serial_number parameter can only be of the date or text type for real-time data. |
Notes
The function supports only one date or text parameter.
Example
Formula | Result | Note |
WEEKDAY("2005/9/10") | 6 | (Saturday) ![]() |
WEEKDAY("2005/9/11") | 0 | (Sunday) ![]() |
WEEKDAY(35796) | 4 | (Thursday) The format is not supported for real-time data. |