Anonymous user
Find the last Sunday of each month: Difference between revisions
tighter code
(Added Rebol code) |
(tighter code) |
||
Line 1,097:
year [integer!] "which year?"
][
d: to-date reduce [1 1 year] ; start with first day of year
collect [
repeat month 12 [
d/month:
▲ keep sunday ; last sunday of month
]
]
|