Template:Year Month Day from day offset
From Wikipedia, the free encyclopedia
Below is the documentation of this template. See the lists of templates on Wikipedia. |
This template calculates the daily log format "year Monthname day" (in the Gregorian calendar) that will result from a given positive or negative offset in days from today.
- Examples:
English | Template | Result |
---|---|---|
Today - 2000 days | {{Year Month Day from day offset|-2000}} | 2001 June 23 |
Today - 200 days | {{Year Month Day from day offset|-200}} | 2006 May 28 |
Today - 20 days | {{Year Month Day from day offset|-20}} | 2006 November 24 |
Today - 2 days | {{Year Month Day from day offset|-2}} | 2006 December 12 |
Today (only for completeness) | {{Year Month Day from day offset|0}} | 2006 December 14 |
Today + 2 days | {{Year Month Day from day offset|2}} | 2006 December 16 |
Today + 20 days | {{Year Month Day from day offset|20}} | 2007 January 3 |
Today + 200 days | {{Year Month Day from day offset|200}} | 2007 July 2 |
Today + 2000 days | {{Year Month Day from day offset|2000}} | 2012 June 5 |
- See also:
- Template:Month from day offset to calculate the month name.
- Template:Day from day offset to calculate the day.