This is documentation for Mathematica 6, which was
based on an earlier version of the Wolfram Language.
 Calendar Package Symbol

# DayOfWeek

 DayOfWeek[{year, month, day}] gives the day of the week on which the given date {year, month, day} occurred. DayOfWeek[{year, month, day, hour, minute, second}] gives the day of the week for the given date.
• The following options can be given:
 Calendar Automatic specifies which calendar system to use
• The default calendar is the usual Western (American) calendar, but can be changed with the Calendar option.
Needs["Calendar`"]
The Declaration of Independence was signed on a Thursday:
 Out[2]=

Needs["Calendar`"]
The Bastille was stormed on a Tuesday:
 Out[2]=

Needs["Calendar`"]
Canada became an independent nation on a Monday:
 Out[2]=

Needs["Calendar`"]
Wolfram Research began on a Saturday:
 Out[2]=

Needs["Calendar`"]
This gives the day of the week at the time the formula was input:
 Out[2]=

Needs["Calendar`"]
Hours, minutes, and seconds do not affect the day of the week:
 Out[2]=
 Options   (5)
 Applications   (2)