Day of the week: Difference between revisions
Added 11l
No edit summary |
Alextretyak (talk | contribs) (Added 11l) |
||
Line 13:
compare the dates calculated with the output of other languages to discover any anomalies in the handling of dates which may be due to, for example, overflow in types used to represent dates/times similar to [[wp:Y2k#See_also|y2k]] type problems.
<br><br>
=={{header|11l}}==
<lang 11l>print((2008..2121).filter(y -> time:(y, 12, 25).strftime(‘%w’) == ‘0’))</lang>
{{out}}
<pre>
[2011, 2016, 2022, 2033, 2039, 2044, 2050, 2061, 2067, 2072, 2078, 2089, 2095, 2101, 2107, 2112, 2118]
</pre>
=={{header|360 Assembly}}==
|