Anonymous user
Day of the week: Difference between revisions
m
→{{header|Mathematica}}
(what was I thinking?! anyway, day_of_week is now a builtin.) |
|||
Line 1,569:
</pre>
=={{header|Mathematica}} / {{header|Wolfram Language}}==
<lang Mathematica>Reap[If[DateString[{#,12,25},"DayName"]=="Sunday",Sow[#]]&/@Range[2008,2121]][[2,1]]</lang>
gives back:
|