Day of the week of Christmas and New Year: Difference between revisions
Content added Content deleted
(Added Quackery.) |
Alpha bravo (talk | contribs) (Added AutoHotkey) |
||
Line 85: | Line 85: | ||
1st of January 2022 is a Saturday |
1st of January 2022 is a Saturday |
||
</pre> |
</pre> |
||
=={{header|AutoHotkey}}== |
|||
<lang AutoHotkey>FormatTime, xmas , 20211225, dddd |
|||
FormatTime, newYear , 20220101, dddd |
|||
MsgBox % result := "Christmas Day, 2021 : " xmas "`nNew Year's Day, 2022 : " newYear</lang> |
|||
{{out}} |
|||
<pre>Christmas Day, 2021 : Saturday |
|||
New Year's Day, 2022 : Saturday</pre> |
|||
=={{header|AWK}}== |
=={{header|AWK}}== |