DayName
DayName[]
gives the current day of the week.
DayName[date]
gives the day of the week for the given date.
Details and Options
- The following options can be given:
-
CalendarType "Gregorian" calendar in which the date parameter has been specified
Examples
open allclose allBasic Examples (3)
Options (4)
Applications (2)
Properties & Relations (2)
Conway's Doomsday rule observes that certain dates within a Gregorian calendar year will always fall on the same day of the week, including the last day of February, the 4th day of the 4th month, the 6th day of the 6th month, and others:
Conway calls this the doomsday of the year, which is Tuesday for 2017:
Thursday, October 4 in the Julian calendar was followed by Friday, October 15 in the Gregorian calendar:
Text
Wolfram Research (2012), DayName, Wolfram Language function, https://reference.wolfram.com/language/ref/DayName.html (updated 2014).
CMS
Wolfram Language. 2012. "DayName." Wolfram Language & System Documentation Center. Wolfram Research. Last Modified 2014. https://reference.wolfram.com/language/ref/DayName.html.
APA
Wolfram Language. (2012). DayName. Wolfram Language & System Documentation Center. Retrieved from https://reference.wolfram.com/language/ref/DayName.html