Changes

Jump to navigation Jump to search
Adding sections and removing obsolete reference to ''Template:Weekday after Julianday''
<includeonly>{{#time:{{{5|F d, Y}}}|{{{3|{{CURRENTDAY}}}}} {{{2|{{CURRENTMONTHNAME}}}}} {{{1|{{CURRENTYEAR}}}}} last {{{4|Monday}}} }}</includeonly><noinclude>
== Usage ==
<nowiki>{{Weekday before date|Y|M|D|W|S}}</nowiki> uses the optional date format string S (defaults to "F d, Y") to return the date of the first W (=Sunday, Monday, ..., Saturday) before the specified date with year Y, month M, and day of month D.

The first Sunday before {{CURRENTMONTHNAME}} {{CURRENTDAY}}, {{CURRENTYEAR}} is given by "<nowiki>{{Weekday before date|</nowiki>{{CURRENTYEAR}}|{{CURRENTMONTHNAME}}|{{CURRENTDAY}}<nowiki>|Sunday}}</nowiki>" as "{{Weekday before date|{{CURRENTYEAR}}|{{CURRENTMONTHNAME}}|{{CURRENTDAY}}|Sunday}}".

== See also ==
* [[Template:Weekday after date]]
[[Category:Date-computing templates]]</noinclude>
Anonymous user

Navigation menu