Sign in with Microsoft
Sign in or create an account.
Select a different account.
You have multiple accounts
Choose the account you want to sign in with.

Returns the day of the week corresponding to a date. The day is given as an integer, ranging from 1 (Sunday) to 7 (Saturday), by default.



Serial_number     is a sequential number that represents the date of the day you are trying to find.

Return_type     is a number that determines the type of return value.


Number returned

1 or omitted

Numbers 1 (Sunday) through 7 (Saturday).


Numbers 1 (Monday) through 7 (Sunday).


Numbers 0 (Monday) through 6 (Sunday).


Dates are stored as sequential serial numbers so they can be used in calculations. By default, December 31, 1899 is serial number 1, and January 1, 2008 is serial number 39448 because it is 39,448 days after January 1, 1900.


In the following examples, note that 2/14/2008 is a Thursday.


Description (Result)


Day of the week, with numbers 1 (Sunday) through 7 (Saturday) (5)


Day of the week, with numbers 1 (Monday) through 7 (Sunday) (4)


Day of the week, with numbers 0 (Monday) through 6 (Sunday) (3)

Need more help?

Want more options?

Explore subscription benefits, browse training courses, learn how to secure your device, and more.

Communities help you ask and answer questions, give feedback, and hear from experts with rich knowledge.

Was this information helpful?

What affected your experience?
By pressing submit, your feedback will be used to improve Microsoft products and services. Your IT admin will be able to collect this data. Privacy Statement.

Thank you for your feedback!