Day of the week of Christmas and New Year: Difference between revisions
Day of the week of Christmas and New Year (view source)
Revision as of 22:18, 8 September 2023
, 8 months ago→{{header|EasyLang}}
Line 685:
return (januaryOne + NthDay - 1) mod 7
.
if n = 0
day$ = "Sunday"
Line 701:
day$ = "Saturday"
.
return day$
.
print "2021-12-25 is on " & numberToDay (dayOfTheWeek 2021 12 25)
print "
{{out}}
<pre>
|