Template:Weekday in month/calc
Template page
More actions
This subtemplate calculates the day of the month of the nth (or −nth last) w-day in the month m.
PurposeThis internal arithmetic helper calculates the calendar day for the nth occurrence of weekday w in month m. Negative ordinals count backward from the end of the month. Parameters
Use Template:Weekday in month for normal calls; it validates and normalizes human-friendly input before invoking this helper. See also
| ||||||||
| Visit Template:Weekday in month/calc/doc to edit this text! (How does this work?) |
|---|