14,091
edits
m (1 revision) |
m (1 revision) |
||
(One intermediate revision by the same user not shown) | |||
Line 2: | Line 2: | ||
|{{#expr:7*{{{n}}}-6+(7+{{{w}}}-{{#time:w|1 {{{m}}}}})mod7}} | |{{#expr:7*{{{n}}}-6+(7+{{{w}}}-{{#time:w|1 {{{m}}}}})mod7}} | ||
|{{#expr:{{#time:t|{{{m}}}}}+7*({{{n}}}+1)-(7-{{{w}}}+{{#time:w|{{#time:t|{{{m}}}}} {{{m}}}}})mod7}} | |{{#expr:{{#time:t|{{{m}}}}}+7*({{{n}}}+1)-(7-{{{w}}}+{{#time:w|{{#time:t|{{{m}}}}} {{{m}}}}})mod7}} | ||
}}</includeonly><noinclude>This subtemplate calculates the day of the month of the ''n''th (or −''n''th last) ''w''-day in the month ''m''.</noinclude> | }}</includeonly><noinclude> | ||
{{doc|content= | |||
This subtemplate calculates the day of the month of the ''n''th (or −''n''th last) ''w''-day in the month ''m''. | |||
}} | |||
</noinclude> |