Difference between revisions of "Template:ACKsessionDayOfMonth"
(updated magic: show next date if the current has already passed (TODO: check if timezones and/or actual date gives problems)) |
(Removed sunday magic) |
||
Line 1: | Line 1: | ||
− | <noinclude>:Shows the second to last Saturday | + | <noinclude>:Shows the second to last Saturday: |
:</noinclude>{{#ifexpr: | :</noinclude>{{#ifexpr: | ||
{{#time: U | | {{#time: U | | ||
− | + | {{NthDayOfMonth|nth=-1}} | |
− | |||
− | |||
− | |||
}} | }} | ||
> | > | ||
{{#time: U | now }} | {{#time: U | now }} | ||
− | + | | {{NthDayOfMonth|nth=-1}} | |
− | + | | {{NthDayOfMonth|nth=-1|month={{#time: m|now + 4 weeks}}|year={{#time: Y|now + 4 weeks}}}} | |
− | |||
− | |||
− | |||
− | |||
− | |||
− | |||
}} | }} |
Revision as of 17:38, 18 July 2022
- Shows the second to last Saturday:
- 23-11-2024