Jump to content

Day of the week: Difference between revisions

m
→‎using DATE weekday: changed quotes.
m (→‎using DATE base: used a template for the output section.)
m (→‎using DATE weekday: changed quotes.)
Line 3,664:
=={{header|REXX}}==
===using DATE weekday===
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('w', year'"1225'", 's') == 'Sunday' then say year
end /*year*/</lang>
{{out|output}}
Cookies help us deliver our services. By using our services, you agree to our use of cookies.