DayName

DayName[date]
gives the day of the week for the given date.

Details and OptionsDetails and Options

  • The following options can be given:
  • CalendarType"Gregorian"calendar in which the date parameter has been specified

ExamplesExamplesopen allclose all

Basic Examples (3)Basic Examples (3)

Wolfram Research began on a Saturday:

In[1]:=
Click for copyable input
Out[1]=

The day of the week today:

In[1]:=
Click for copyable input
Out[1]=

Hours, minutes, and seconds do not affect the day of the week:

In[1]:=
Click for copyable input
Out[1]=
New in 9
New to Mathematica? Find your learning path »
Have a question? Ask support »