Template:Month and day from day offset
From Wikipedia, the free encyclopedia
Below is the documentation of this template. See the lists of templates on Wikipedia. |
Purge page cache if page isn't updating.
This template calculates the daily log format "Month Day" (in the Gregorian calendar) for the current year (based on {{Year Month Day from day offset}})
- Examples:
English | Template | Result |
---|---|---|
Today - 2000 days | {{Month and day from day offset|-2000}} | June 22 |
Today - 200 days | {{Month and day from day offset|-200}} | May 27 |
Today - 20 days | {{Month and day from day offset|-20}} | November 23 |
Today - 2 days | {{Month and day from day offset|-2}} | December 11 |
Today (only for completeness) | {{Month and day from day offset|0}} | December 13 |
Today + 2 days | {{Month and day from day offset|2}} | December 15 |
Today + 20 days | {{Month and day from day offset|20}} | January 2 |
Today + 200 days | {{Month and day from day offset|200}} | July 1 |
Today + 2000 days | {{Month and day from day offset|2000}} | June 4 |
- See also:
- Template:Month from day offset to calculate the month name.
- Template:Day from day offset to calculate the day.