Anonymous user
Day of the week: Difference between revisions
added PowerShell
(→{{header|D}}: add implementation) |
(added PowerShell) |
||
Line 683:
25 Dec 2118 is Sunday
</pre>
=={{header|PowerShell}}==
<lang powershell>2008..2121 | Where-Object { ([DateTime] "$_-12-25").DayOfWeek -eq "Sunday" }</lang>
=={{header|Python}}==
|