<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
	<id>https://wiki.nichework.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AAge2%2Fdoc</id>
	<title>Template:Age2/doc - Revision history</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.nichework.com/w/index.php?action=history&amp;feed=atom&amp;title=Template%3AAge2%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.nichework.com/w/index.php?title=Template:Age2/doc&amp;action=history"/>
	<updated>2026-05-09T06:38:32Z</updated>
	<subtitle>Revision history for this page on the wiki</subtitle>
	<generator>MediaWiki 1.44.5</generator>
	<entry>
		<id>https://wiki.nichework.com/w/index.php?title=Template:Age2/doc&amp;diff=3269&amp;oldid=prev</id>
		<title>MarkAHershberger: 1 revision imported</title>
		<link rel="alternate" type="text/html" href="https://wiki.nichework.com/w/index.php?title=Template:Age2/doc&amp;diff=3269&amp;oldid=prev"/>
		<updated>2026-01-19T18:42:05Z</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;tr class=&quot;diff-title&quot; lang=&quot;en&quot;&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;← Older revision&lt;/td&gt;
				&lt;td colspan=&quot;1&quot; style=&quot;background-color: #fff; color: #202122; text-align: center;&quot;&gt;Revision as of 18:42, 19 January 2026&lt;/td&gt;
				&lt;/tr&gt;&lt;tr&gt;&lt;td colspan=&quot;2&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;/table&gt;</summary>
		<author><name>MarkAHershberger</name></author>
	</entry>
	<entry>
		<id>https://wiki.nichework.com/w/index.php?title=Template:Age2/doc&amp;diff=3268&amp;oldid=prev</id>
		<title>w&gt;Zackmann08: removing template per TFD</title>
		<link rel="alternate" type="text/html" href="https://wiki.nichework.com/w/index.php?title=Template:Age2/doc&amp;diff=3268&amp;oldid=prev"/>
		<updated>2025-12-27T04:44:47Z</updated>

		<summary type="html">&lt;p&gt;removing template per &lt;a href=&quot;/w/index.php?title=Wikipedia:Templates_for_discussion/Log/2025_December_19&amp;amp;action=edit&amp;amp;redlink=1&quot; class=&quot;new&quot; title=&quot;Wikipedia:Templates for discussion/Log/2025 December 19 (page does not exist)&quot;&gt;TFD&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template returns the number(s) of full years between two specified dates. It may return one number (e.g. &amp;quot;50&amp;quot;) or two possible numbers (e.g. &amp;quot;50-51&amp;quot;) of full years, depending on the given information of the two dates.&lt;br /&gt;
&lt;br /&gt;
The template is especially designed for situations where the day, or day and month, of the two dates is unknown. If the year, month and day are all known, you may use {{tl|Age}} or {{tl|Age nts}} as well.&lt;br /&gt;
&lt;br /&gt;
==Usage==&lt;br /&gt;
&amp;lt;syntaxhighlight lang=&amp;quot;wikitext&amp;quot;&amp;gt;{{Age2|&amp;lt;year1(yyyy)&amp;gt;|&amp;lt;month1(mm)&amp;gt;|&amp;lt;day1(dd)&amp;gt;|&amp;lt;year2(yyyy)&amp;gt;|&amp;lt;month2(mm)&amp;gt;|&amp;lt;day2(dd)&amp;gt;|sortable=}}&amp;lt;/syntaxhighlight&amp;gt;&lt;br /&gt;
* &amp;lt;code&amp;gt;year1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;month1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;day1&amp;lt;/code&amp;gt; are for the starting date&lt;br /&gt;
* &amp;lt;code&amp;gt;year2&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;month2&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;day2&amp;lt;/code&amp;gt; are for the ending date&lt;br /&gt;
* &amp;lt;code&amp;gt;year1&amp;lt;/code&amp;gt; and &amp;lt;code&amp;gt;year2&amp;lt;/code&amp;gt; are required&lt;br /&gt;
* &amp;lt;code&amp;gt;month1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;month2&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;day1&amp;lt;/code&amp;gt;, &amp;lt;code&amp;gt;day2&amp;lt;/code&amp;gt; are optional, if one or some of them is unknown, it may be omitted, or left blank, or filled in &amp;quot;0&amp;quot;, &amp;quot;00&amp;quot;, like: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|7|23|2010||}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|7|23|2010}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;; &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|0|0|2010|7|14}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; or &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|||2010|7|14}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&lt;br /&gt;
* When entering dates before the [[Common Era]], use [[astronomical year numbering]]: 1 BC is represented by 0, 2 BC by -1, 3 BC by -2, etc. For example, to calculate [[Augustus]] (23 September 63 BC – 19 August 14 AD)&amp;#039;s age: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|-62|9|23|14|8|19}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|-62|9|23|14|8|19}}&amp;quot;&lt;br /&gt;
* &amp;quot;sortable&amp;quot;, optional, fill in &amp;quot;yes&amp;quot; to add a hidden key, making it sort correctly in [[Help:Sortable tables|sortable tables]]: &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|7|23|2010|7||sortable=yes}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|7|23|2010|7||sortable=yes}}&amp;quot;, whose HTML code is &amp;quot;&amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;&amp;lt;span style=&amp;quot;display:none&amp;quot;&amp;gt;&amp;amp;10000000000000009500000&amp;lt;/span&amp;gt;9-10&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt;&amp;quot;, where it is considered 9.5, making it greater than 9 but less than 10.&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
{| class=&amp;quot;wikitable sortable&amp;quot; style=&amp;quot;float:right;&amp;quot;&lt;br /&gt;
|+ Sortable Example&lt;br /&gt;
|-&lt;br /&gt;
! Click&amp;lt;br /&amp;gt;to&amp;lt;br /&amp;gt;sort&lt;br /&gt;
! class=&amp;quot;unsortable&amp;quot; |Starting&amp;lt;br /&amp;gt;date&lt;br /&gt;
! class=&amp;quot;unsortable&amp;quot;| Ending&amp;lt;br /&amp;gt;date&lt;br /&gt;
|-&lt;br /&gt;
| {{Age2|2000|7|23|2010|7|14|sortable=yes}} || {{date|2000-7-23}} || {{date|2010-7-14}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Age2|2000|7|23|2010|7|29|sortable=yes}} || {{date|2000-7-23}} || {{date|2010-7-29}}&lt;br /&gt;
|-&lt;br /&gt;
| {{Age2|2000|7|23|2010|7||sortable=yes}} || {{date|2000-7-23}} || {{date|2010-7}}&lt;br /&gt;
|}&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|7|23|2010|7|14}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|7|23|2010|7|14}}&amp;quot;&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|7|23|2010|7|}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|7|23|2010|7|}}&amp;quot; (if day2 &amp;gt;= 23 it&amp;#039;ll be 10, otherwise it&amp;#039;ll be 9)&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|6|23|2010|7|}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|6|23|2010|7|}}&amp;quot; (it can only be 10)&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|8|23|2010|7|}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|8|23|2010|7|}}&amp;quot; (it can only be 9)&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|7||2010|7|}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|7||2010|7|}}&amp;quot; (10 and 9 are both possible)&lt;br /&gt;
&lt;br /&gt;
When one of the dates is the first or last day of the month or year:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|1|1|2010||}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|1|1|2010||}}&amp;quot; (it can only be 10, even if month2 and day2 are both 1)&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|7||2010|7|31}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|7||2010|7|31}}&amp;quot; (it can only be 10, even if day1 = 31)&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|7|31|2010|7|}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|7|31|2010|7|}}&amp;quot; (if day2 = 31 it&amp;#039;ll be 10, otherwise it&amp;#039;ll be 9)&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|2|29|2010|2|}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|2|29|2010|2|}}&amp;quot; (it can only be 9)&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{Age2|2000|2||2010|2|28}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{Age2|2000|2||2010|2|28}}&amp;quot; (if day1 = 29 (2000 is a [[leap year]]) it&amp;#039;ll be 9, otherwise it&amp;#039;ll be 10)&lt;br /&gt;
&lt;br /&gt;
===Note===&lt;br /&gt;
This template does not check for incorrect input:&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{age|1980|7|14|1993|6|233}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{age|1980|7|14|1993|6|233}}&amp;quot; (surplus days do not count as extra months)&lt;br /&gt;
* &amp;lt;code&amp;gt;&amp;lt;nowiki&amp;gt;{{age|1980|7|14|1993|88|14}}&amp;lt;/nowiki&amp;gt;&amp;lt;/code&amp;gt; returns &amp;quot;{{age|1980|7|14|1993|88|14}}&amp;quot; (surplus months do not count as extra years)&lt;br /&gt;
&lt;br /&gt;
==See also==&lt;br /&gt;
* [[Wikipedia:Age calculation templates]]&lt;br /&gt;
; Age only&lt;br /&gt;
* {{tl|Age}} – age based on the number of full years between two dates (or a specified date and current date)&lt;br /&gt;
* {{tl|Age nts}} – similar to &amp;lt;nowiki&amp;gt;{{Age}}&amp;lt;/nowiki&amp;gt;, but will sort correctly in sortable tables&lt;br /&gt;
* {{tl|Age in years and days}} – full years and days between two dates (or a specified date and current date)&lt;br /&gt;
* {{tl|Age in days}} – age in days between two dates (or a specified date and current date)&lt;br /&gt;
* {{tl|Age as of date}} – current age in years, based on a known age as of a specified date&lt;br /&gt;
; Birth, death, age&lt;br /&gt;
* {{tl|Birth date}} – displays the date and related hidden metadata&lt;br /&gt;
* {{tl|Birth date and age}} – same as {{tl|Birth date}}, except that &amp;quot;(age ##)&amp;quot; appears after the birth date&lt;br /&gt;
* {{tl|Birth date and age2}} – displays birth date, plus age as of a specified date, &amp;quot;(aged ##)&amp;quot; appears after the birth date&lt;br /&gt;
* {{tl|Birth year and age}} – year of birth and approximate age&lt;br /&gt;
* {{tl|Birth date and age text}} – display birth date and age, accepts dates as text (15 June 1950; June 15, 1950; June 1950; etc.)&lt;br /&gt;
* {{tl|Birth based on age as of date}} – displays approximate birth year and current age; used when a dated reference mentions the age of a person as of the date of publication&lt;br /&gt;
* {{tl|Death date}} – displays the date and related hidden metadata&lt;br /&gt;
* {{tl|Death date and age}} – same as {{tl|Death date}}, except that &amp;quot;(aged ##)&amp;quot; appears after the death date&lt;br /&gt;
* {{tl|Death year and age}} – year of death and approximate age at death&lt;br /&gt;
* {{tl|Death date and age text}} – display death date and age, accepts date as text (15 June 1950; June 15, 1950; June 1950; etc.)&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other||&lt;br /&gt;
&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[Category:Date mathematics templates]]&lt;br /&gt;
&lt;br /&gt;
&amp;lt;!-- ADD INTERWIKIS BELOW THIS LINE --&amp;gt;&lt;br /&gt;
[[bn:টেমপ্লেট:Age2]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>w&gt;Zackmann08</name></author>
	</entry>
</feed>