Discordian date: Difference between revisions

Content deleted Content added
m →‎{{header|REXX}}: added/changed whitespace and comments, added support for today's date.
m →‎{{header|REXX}}: added comments to the REXX section header.
Line 1,551:
 
=={{header|REXX}}==
This REXX version allows the   '''mm'''   or   '''dd'''   to be one or two digits.
 
Also, the year can be two or four digits, or it may be omitted.
 
If the Gregorian date is omitted or specified as an asterisk   ('''*'''),   the current date is used.
<lang rexx>/*REXX program converts a mm/dd/yyyy Gregorian date ───► Discordian date. */
Dday.1= 'Sweetness' /*define the 1st day─of─Discordian─week*/