Help us get to over 8,767 articles in 2025.
If you know of a magician not listed in MagicPedia, start a New Biography for them. Contact us at magicpediahelp@gmail.com
Template:Age2
Jump to navigation
Jump to search
This template returns the number of full years between two specified dates. If the second set of parameters is not included, it will return the number of full years between a specified date and today's date.
Syntax:
- {{age2|year1|month1 day1|year2|month2 day2}} or :{{age2|year1|month1 day1}}
Examples:
- {{age2|1962|July 23|2003|July 14}} returns "{{#expr:(2003)
- (1962) - (
( {{#if:Expression error: Unrecognized word "july".)
<
(7)
or
("
- {{age2|1900|July 23}} returns "{{#expr:(2025)
- (1900) - (
( {{#if:Expression error: Unrecognized punctuation character "{".)
<
(7)
or
("
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: {{subst:age2|1989|July 23|2003|July 14}}