Template:Age in days: Difference between revisions
(straight port from wikipedia:template:age in days) |
m (Protected "Template:Age in days": If you'd like to suggest changes to this template, please do so at forum:Panopticon. This template is being protected because it impacts many other pages and templates. ([edit=sysop] (indefinite) [move=sysop] (ind) |
Latest revision as of 05:12, 15 May 2012
To use, type:
- {{age in days|month1= |day1= |year1= |month2= |day2= | year2=}}
Or with unnamed parameters:
- {{age in days|year1|month1|day1|year2|month2|day2}} or
- {{age in days|year1|month1|day1}}
Examples:
- {{age in days|2007|5|24|2008|4|23}} gives 335
- {{age in days|2007|5|24}} gives 6383
Use with caution on in-universe pages
Please note that this template, and really everything in category:age calculation templates should be used with caution on in-universe pages. They all assume that there is no year zero, which our in-universe rule on years does not. This is because there are several in-universe sources, not the least of which is the 1996 movie and its novelisation, which assume that there is a year zero. For ease of calculation, our in-universe time calculation templates, like {{timeline}}, are therefore based on a different principle than this one — namely, that year 0 does exist.
In practice, this means absolutely nothing to the calculation time of between two dates, so long as you're trying to figure out the distance between any two dates after 1/1/1 AD.