Day of the week: Difference between revisions

m
→‎using DATE base: added whitespace and DO-end comment.
m (→‎using DATE weekday: added a DO-end comment.)
m (→‎using DATE base: added whitespace and DO-end comment.)
Line 3,691:
The extended DATE parameters (arguments 2 and 3) are only supported by the newer REXX interpreters.
<lang rexx> do year=2008 to 2121
if date('b', year'1225', 's') // 7 == 6 then say year
end /*year*/</lang>
'''output''' is the same as above