Template:Monthoffset
December
Documentation
This template calculates the month that will result from a given positive or negative offset in days. See also {{dayoffset}} to calculate the day of the month.
Examples:
English | Template | Result |
---|---|---|
Today - 30 | {{monthoffset|-30}} | November |
Today + 2 | {{monthoffset|2}} | December |
Today + 30 | {{monthoffset|30}} | December |
Combination with {{dayoffset}}:
English | Template | Result |
---|---|---|
Today - 30 | {{monthoffset|-30}} {{dayoffset|-30}} | November
5
|
Today + 2 | {{monthoffset|2}} {{dayoffset|2}} | December
7
|
Today + 30 | {{monthoffset|30}} {{dayoffset|30}} | December
4
|