Module:DayCalc/doc
This is the documentation page for Module:DayCalc
Documentation for DayCalc
DayCalc may evolve into many day/date functions. Right now, it has a case of the Tuesdays.
Examples:
get_next_tuesday
- Returns the next Tuesday if today is not Tuesday, otherwise returns today's date.
- wikitext:
{{#invoke:DayCalc|get_next_tuesday}}
- result: September 10, 2024
- wikitext:
- Returns the next Tuesday if today is not Tuesday, otherwise returns today's date (ISO format)
- wikitext:
{{#invoke:DayCalc|get_next_tuesday|isodate=true}}
- result: 2024-09-10
- wikitext:
get_first_coming_tuesday_of_month
- Returns the first upcoming Tuesday which is the first Tuesday of a month.
- wikitext:
{{#invoke:DayCalc|get_first_coming_tuesday_of_month}}
- result: October 1, 2024
- wikitext:
- Returns the first upcoming Tuesday which is the first Tuesday of a month (ISO format)
- wikitext:
{{#invoke:DayCalc|get_first_coming_tuesday_of_month|isodate=true}}
- result: 2024-10-01
- wikitext: