Template:Monthoffset
August
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}} | July |
| Today + 2 | {{monthoffset|2}} | August |
| Today + 30 | {{monthoffset|30}} | August |
Combination with {{dayoffset}}:
| English | Template | Result |
|---|---|---|
| Today - 30 | {{monthoffset|-30}} {{dayoffset|-30}} | July
13
|
| Today + 2 | {{monthoffset|2}} {{dayoffset|2}} | August
14
|
| Today + 30 | {{monthoffset|30}} {{dayoffset|30}} | August
11
|