Jump to content

Find the last Sunday of each month: Difference between revisions

m
m (→‎{{header|Wren}}: Minor tidy)
Line 5,057:
=={{header|Wren}}==
{{libheader|Wren-date}}
<syntaxhighlight lang="ecmascriptwren">import "os" for Process
import "./date" for Date
var args = Process.arguments
Line 5,081:
{{out}}
<pre>
$ wren last_sundayFind_the_last_Sunday_of_each_month.wren 2013
The dates of the last Sundays in the month for 2013 are:
2013-01-27
Line 5,096:
2013-12-29
 
$ wren last_sundayFind_the_last_Sunday_of_each_month.wren 2020
The dates of the last Sundays in the month for 2020 are:
2020-01-26
9,485

edits

Cookies help us deliver our services. By using our services, you agree to our use of cookies.