<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>https://wiki.dungeondefenders2.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AAgeYears</id>
		<title>Template:AgeYears - Revision history</title>
		<link rel="self" type="application/atom+xml" href="https://wiki.dungeondefenders2.com/index.php?action=history&amp;feed=atom&amp;title=Template%3AAgeYears"/>
		<link rel="alternate" type="text/html" href="https://wiki.dungeondefenders2.com/index.php?title=Template:AgeYears&amp;action=history"/>
		<updated>2026-04-28T17:16:57Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.27.1</generator>

	<entry>
		<id>https://wiki.dungeondefenders2.com/index.php?title=Template:AgeYears&amp;diff=7032&amp;oldid=prev</id>
		<title>Czokalapik: Created page with &quot;&lt;includeonly&gt;{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})&lt;({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})&lt;({{{3}}}))}}&lt;/i...&quot;</title>
		<link rel="alternate" type="text/html" href="https://wiki.dungeondefenders2.com/index.php?title=Template:AgeYears&amp;diff=7032&amp;oldid=prev"/>
				<updated>2017-04-18T18:01:54Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;&amp;lt;includeonly&amp;gt;{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})&amp;lt;({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})&amp;lt;({{{3}}}))}}&amp;lt;/i...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;&amp;lt;includeonly&amp;gt;{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})&amp;lt;({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})&amp;lt;({{{3}}}))}}&amp;lt;/includeonly&amp;gt;&amp;lt;noinclude&amp;gt;&lt;br /&gt;
==Description==&lt;br /&gt;
Compares two dates and returns difference in years. Mainly used for showing ones age.&lt;br /&gt;
===Parameters===&lt;br /&gt;
&amp;lt;pre&amp;gt;{{AgeYears&lt;br /&gt;
 |year1&lt;br /&gt;
 |month1&lt;br /&gt;
 |day1&lt;br /&gt;
&lt;br /&gt;
 |year2&lt;br /&gt;
 |month2&lt;br /&gt;
 |day2&lt;br /&gt;
}}&amp;lt;/pre&amp;gt;&lt;br /&gt;
;year1 (first parameter)&lt;br /&gt;
:year to check&lt;br /&gt;
;month1 (second parameter)&lt;br /&gt;
:month to check&lt;br /&gt;
;day1 (third parameter)&lt;br /&gt;
:day to check&lt;br /&gt;
;year2 (fourth parameter)&lt;br /&gt;
:year to compare, current year by default&lt;br /&gt;
;month2 (fifth parameter)&lt;br /&gt;
:month to compare, current month by default&lt;br /&gt;
;day2 (sixth parameter)&lt;br /&gt;
:day to compare, current day by default&lt;br /&gt;
===Example===&lt;br /&gt;
If you want to show how old are you and you were born on (for example) 01-01-1999 use '''&amp;lt;nowiki&amp;gt;{{AgeYears|1999|1|1}}&amp;lt;/nowiki&amp;gt;''': that will show '''{{AgeYears|1999|1|1}}'''.&lt;br /&gt;
&lt;br /&gt;
If you want to compare for example two dates to check how old you were on given day (again, lets say you were born on 01-01-1999) use: '''&amp;lt;nowiki&amp;gt;{{AgeYears|1999|1|1|2010|10|3}}&amp;lt;/nowiki&amp;gt;''': that will show '''{{AgeYears|1999|1|1|2010|10|3}}'''.&lt;br /&gt;
&lt;br /&gt;
[[Category:Date templates]]&amp;lt;/noinclude&amp;gt;&lt;/div&gt;</summary>
		<author><name>Czokalapik</name></author>	</entry>

	</feed>