Template:Dayoffset
Jump to navigation
Jump to search
19
- This template calculates the day of the month that will result from a given positive or negative offset in days. The value used for today in the examples is
- Template:Evdn
Examples:
| English | Template | Result |
|---|---|---|
| Today - 30 | {{ day from day offset|-30}} | Template:Day from day offset |
| Today + 2 | {{ day from day offset|2}} | Template:Day from day offset |
| Today + 30 | {{ day from day offset|30}} | Template:Day from day offset |
Combination with
| English | Template | Result |
|---|---|---|
| Today - 30 | {{monthoffset|-30}} {{dayoffset|-30}} | September
19
|
| Today + 2 | {{monthoffset|2}} {{dayoffset|2}} | October
21
|
| Today + 30 | {{monthoffset|30}} {{dayoffset|30}} | October
18
|