Day of the week: Difference between revisions
Content added Content deleted
m (→using DATE weekday: changed quotes.) |
m (→using DATE base: changed quote style.) |
||
Line 3,692: | Line 3,692: | ||
The extended DATE parameters (arguments 2 and 3) are only supported by the newer REXX interpreters. |
The extended DATE parameters (arguments 2 and 3) are only supported by the newer REXX interpreters. |
||
<lang rexx> do year=2008 to 2121 |
<lang rexx> do year=2008 to 2121 |
||
if date('b', year |
if date('b', year"1225", 's') // 7 == 6 then say year |
||
end /*year*/</lang> |
end /*year*/</lang> |
||
{{out|output|text= is identical to the 1<sup>st</sup> REXX version.}} <br><br> |
{{out|output|text= is identical to the 1<sup>st</sup> REXX version.}} <br><br> |