>

$\mathrm{with}\left(\mathrm{Calendar}\right)\:$

>

$\mathrm{DayOfWeek}\left(\mathrm{Date}\left(\right)\right)$

>

$\mathrm{DayOfWeek}\left(2000\,1\,1\right)$

>

$\mathrm{DayOfWeek}\left(2000\,12\,31\right)$

>

$\mathrm{DayOfWeek}\left(\mathrm{Date}\left(1900\,12\,31\right)\right)$

Maryam Mirzakhani was born on a Tuesday.
>

$\mathrm{DayOfWeek}\left(\mathrm{Date}\left(1977\,5\,3\,'\mathrm{timezone}'=''Asia/Tehran''\right)\right)$

The battle of Hastings occurred on a Saturday.
>

$\mathrm{DayOfWeek}\left(1066\,10\,14\right)$

William the Conqueror was crowned on a Monday.
>

$\mathrm{DayOfWeek}\left(1066\,12\,25\right)$
