Day of the week: Difference between revisions

m
→‎using DATE weekday: added a template for the output section.
m (→‎using DATE base: added whitespace and DO-end comment.)
m (→‎using DATE weekday: added a template for the output section.)
Line 3,668:
if date('w', year'1225', 's') == 'Sunday' then say year
end /*year*/</lang>
{{out|output}}
<pre>
2011