Template:Age: Difference between revisions

Jump to navigation Jump to search
No change in size ,  26 November 2012
no edit summary
No edit summary
No edit summary
Line 12: Line 12:
:For an SB118 character born on stardate 236503.14 (which translates to March 14, 2365), subtract 377 from the year to get 1988. Thus, that character's current age as of today in the SB118 universe is  
:For an SB118 character born on stardate 236503.14 (which translates to March 14, 2365), subtract 377 from the year to get 1988. Thus, that character's current age as of today in the SB118 universe is  


: <nowiki>{{age|2365|3|14}}</nowiki> returns {{age|1988|3|14}}.
: <nowiki>{{age|2365|3|14}}</nowiki> returns {{age|2365|3|14}}.


: When using this template to calculate a person's age at death or a person's age on a specified date (rather than the person's current age), please substitute it into the page.
: When using this template to calculate a person's age at death or a person's age on a specified date (rather than the person's current age), please substitute it into the page.
:: Example: <nowiki>{{subst:age|1989|7|23|2003|7|14}}</nowiki>
:: Example: <nowiki>{{subst:age|2365|7|23|2003|7|14}}</nowiki>


:When entering dates before the Common Era, use astronomical year numbering: 1 BCE is represented by 0, 2 BCE by -1, 3 BCE by -2 etc. For example, the following expression returns the number of full years elapsed since the battle of Cannae, which took place on August 2, 216 BCE:
:When entering dates before the Common Era, use astronomical year numbering: 1 BCE is represented by 0, 2 BCE by -1, 3 BCE by -2 etc. For example, the following expression returns the number of full years elapsed since the battle of Cannae, which took place on August 2, 216 BCE:

Navigation menu