<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://prdmc.ca/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ABirth_and_death_year_and_age</id>
	<title>Template:Birth and death year and age - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://prdmc.ca/w/index.php?action=history&amp;feed=atom&amp;title=Template%3ABirth_and_death_year_and_age"/>
	<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:Birth_and_death_year_and_age&amp;action=history"/>
	<updated>2026-04-15T03:52:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.45.1</generator>
	<entry>
		<id>https://prdmc.ca/w/index.php?title=Template:Birth_and_death_year_and_age&amp;diff=1816&amp;oldid=prev</id>
		<title>RandomUser34: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:Birth_and_death_year_and_age&amp;diff=1816&amp;oldid=prev"/>
		<updated>2026-02-18T01:52:04Z</updated>

		<summary type="html">&lt;p&gt;1 revision imported&lt;/p&gt;
&lt;table style=&quot;background-color: #fff; color: #202122;&quot; data-mw=&quot;interface&quot;&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;col class=&quot;diff-marker&quot; /&gt;
				&lt;col class=&quot;diff-content&quot; /&gt;
				&lt;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;2&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 01:52, 18 February 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;4&quot; class=&quot;diff-notice&quot; lang=&quot;en&quot;&gt;&lt;div class=&quot;mw-diff-empty&quot;&gt;(No difference)&lt;/div&gt;
&lt;/td&gt;&lt;/tr&gt;
&lt;!-- diff cache key prd_wiki:diff:1.41:old-1815:rev-1816 --&gt;
&lt;/table&gt;</summary>
		<author><name>RandomUser34</name></author>
	</entry>
	<entry>
		<id>https://prdmc.ca/w/index.php?title=Template:Birth_and_death_year_and_age&amp;diff=1815&amp;oldid=prev</id>
		<title>wp&gt;W.andrea: -extra newline</title>
		<link rel="alternate" type="text/html" href="https://prdmc.ca/w/index.php?title=Template:Birth_and_death_year_and_age&amp;diff=1815&amp;oldid=prev"/>
		<updated>2025-11-25T16:47:13Z</updated>

		<summary type="html">&lt;p&gt;-extra newline&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&amp;lt;noinclude&amp;gt;&amp;lt;!--&lt;br /&gt;
    PLEASE ADD CATEGORIES AT THE BOTTOM OF THIS PAGE&lt;br /&gt;
    YOU CAN EDIT THE TEMPLATE DOCUMENTATION BELOW THIS COMMENT&lt;br /&gt;
&lt;br /&gt;
    Note all dates are perpetual to the system date&lt;br /&gt;
--&amp;gt;&amp;lt;/noinclude&amp;gt;&lt;br /&gt;
== Usage ==&lt;br /&gt;
The templates {{tl|Birth year and age}} and {{tl|Death year and age}} return a person&amp;#039;s year of birth or death and their approximate age. The templates are useful when only the year, or year and month, of a person&amp;#039;s birth and/or death are known, or if it is desired not to state a person&amp;#039;s full dates of birth and death for privacy reasons.&lt;br /&gt;
&lt;br /&gt;
Such an approximation differs from the approximation generated by  {{tl|Birth based on age as of date}}; the latter can be used when the only detail available about someone&amp;#039;s birth is a reference that establishes their age as of a certain date (such as the date that the reference was published). &lt;br /&gt;
&lt;br /&gt;
{| class=&amp;quot;wikitable plainlinksneverexpand noprint&amp;quot; style=&amp;quot;margin-top:0; width:100%; text-align:center;&amp;quot;&lt;br /&gt;
|-&lt;br /&gt;
! colspan=&amp;quot;6&amp;quot; style=&amp;quot;background:#dfd;&amp;quot;|&lt;br /&gt;
The examples on this page use the current date as&amp;lt;br&amp;gt; &lt;br /&gt;
{{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}&lt;br /&gt;
|}&lt;br /&gt;
&lt;br /&gt;
The person&amp;#039;s age is estimated as follows:&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;nowiki&amp;gt;{{Birth year and age}}&amp;lt;/nowiki&amp;gt; ===&lt;br /&gt;
Let us assume:&lt;br /&gt;
#that the person in question was born sometime in {{#expr: {{CURRENTYEAR}} - 55}}; and&lt;br /&gt;
#that the present date is {{CURRENTDAY}} {{CURRENTMONTHNAME}} {{CURRENTYEAR}}.&lt;br /&gt;
&lt;br /&gt;
*If the person was born after {{#time:d F Y|now - 55 years}} then they will be {{age|{{#time:d F Y|now - 55 years + 1 day}}|{{#time:Y-m-d|now}}}} years old on {{#time:d F Y|now}} as they have not had their 55th birthday yet. On the other hand, if they were born exactly on or before {{#time:d F Y|now - 55 years}}, then they will be {{age|{{#time:d F Y|now - 55 years}}|{{#time:Y-m-d|now}}}} years old.&lt;br /&gt;
*:Therefore, the template {{tlx|Birth year and age|{{#expr: {{CURRENTYEAR}} - 55}} }}&lt;br /&gt;
*:displays their birth year and age as: {{birth year and age|{{#expr: {{CURRENTYEAR}} - 55}}}}&lt;br /&gt;
*Optionally, if we know the person&amp;#039;s birth month but not the day, we can also have the template display the month.&lt;br /&gt;
*:Let us assume that the person was born in June {{#expr: {{CURRENTYEAR}} - 55}}. Therefore:&lt;br /&gt;
*:*If it is presently January {{CURRENTYEAR}}, then this year the person has not had their birthday yet. Therefore, the template {{tlx|Birth year and age|{{#expr: {{CURRENTYEAR}} - 55}}|6}} displays their birth year and age as: {{#expr: {{CURRENTYEAR}} - 55}} (age 54).&lt;br /&gt;
*:*If it is presently June {{CURRENTYEAR}}, we do not know whether the person has had their birthday this year yet since their day of birth is unknown. Therefore, the template displays their birth year and age as: {{#expr: {{CURRENTYEAR}} - 55}} (age 54–55).&lt;br /&gt;
*:*If it is presently December {{CURRENTYEAR}}, then this year the person has already had their birthday. Therefore, the template displays their birth year and age as: {{#expr: {{CURRENTYEAR}} - 55}} (age 55).&lt;br /&gt;
&lt;br /&gt;
=== &amp;lt;nowiki&amp;gt;{{Death year and age}}&amp;lt;/nowiki&amp;gt; ===&lt;br /&gt;
Let us assume:&lt;br /&gt;
#that the person in question was born sometime in {{#expr: {{CURRENTYEAR}} - 51}}; and&lt;br /&gt;
#that they died sometime in {{#expr: {{CURRENTYEAR}} - 1}}.&lt;br /&gt;
&lt;br /&gt;
*We can posit as two extremes: (1) that the person was born on 31 December {{#expr: {{CURRENTYEAR}} - 51}} and died on 1 January {{#expr: {{CURRENTYEAR}} - 1}}, in which case they would have been 49 years old at the time of their death as they did not achieve their 50th birthday on 31 December {{#expr: {{CURRENTYEAR}} - 1}}; and (2) that they were born on 1 January {{#expr: {{CURRENTYEAR}} - 51}} and died on 31 December {{#expr: {{CURRENTYEAR}} - 1}}, in which case they would have been 50 years old at the time of their death as they had their 50th birthday on 1 January {{#expr: {{CURRENTYEAR}} - 1}}.&lt;br /&gt;
&lt;br /&gt;
::Therefore, the template {{tlx|Death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}} }}&lt;br /&gt;
::renders their death year and age as: {{death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}}}}&lt;br /&gt;
&lt;br /&gt;
*Optionally, if we know the month of the person&amp;#039;s death but not the day, we can also have the template display the month. &lt;br /&gt;
&lt;br /&gt;
:Using the above examples and assuming the month is {{CURRENTMONTH}} ({{CURRENTMONTHNAME}})&lt;br /&gt;
::Therefore, the template {{tlx|Death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}}|{{CURRENTMONTH}} }}&lt;br /&gt;
::displays their death year and age as: {{death year and age|{{#expr: {{CURRENTYEAR}} - 1}}|{{#expr: {{CURRENTYEAR}} - 51}}|{{CURRENTMONTH}}}}&lt;br /&gt;
&lt;br /&gt;
If you wish to set out the full dates of birth and/or death of a person and thus to calculate their age accurately, please use the templates {{tl|Birth date and age}} and {{tl|Death date and age}}.&lt;br /&gt;
&lt;br /&gt;
== Syntax ==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;&lt;br /&gt;
{{Birth year and age|year of birth}}&lt;br /&gt;
{{Birth year and age|year of birth|optional number of month of birth}}&lt;br /&gt;
{{Death year and age|year of death|year of birth}}&lt;br /&gt;
{{Death year and age|year of death|year of birth|optional number of month of death}}&lt;br /&gt;
&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
&lt;br /&gt;
== Examples ==&lt;br /&gt;
{{nowiki template demo|format=inline|output=nowiki+|code=&amp;lt;nowiki&amp;gt;{{Birth year and age|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 55}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{nowiki template demo|format=inline|output=nowiki+|code=&amp;lt;nowiki&amp;gt;{{Birth year and age|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 55}}&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTMONTH}} - 1}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{nowiki template demo|format=inline|output=nowiki+|code=&amp;lt;nowiki&amp;gt;{{Birth year and age|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 55}}&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTMONTH}} + 1}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{nowiki template demo|format=inline|output=nowiki+|code=&amp;lt;nowiki&amp;gt;{{Death year and age|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 1}}&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 51}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
{{nowiki template demo|format=inline|output=nowiki+|code=&amp;lt;nowiki&amp;gt;{{Death year and age|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 1}}&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{#expr: {{CURRENTYEAR}} - 51}}&amp;lt;nowiki&amp;gt;|&amp;lt;/nowiki&amp;gt;{{CURRENTMONTH}}&amp;lt;nowiki&amp;gt;}}&amp;lt;/nowiki&amp;gt;}}&lt;br /&gt;
&amp;lt;noinclude&amp;gt;&lt;br /&gt;
[[Category:Documentation shared content templates]]&lt;br /&gt;
&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>wp&gt;W.andrea</name></author>
	</entry>
</feed>