<?xml version="1.0"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="zh-Hans-CN">
	<id>https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AAge_in_years_and_months%2Fdoc</id>
	<title>模板:Age in years and months/doc - 版本历史</title>
	<link rel="self" type="application/atom+xml" href="https://wiki.statsape.com/index.php?action=history&amp;feed=atom&amp;title=%E6%A8%A1%E6%9D%BF%3AAge_in_years_and_months%2Fdoc"/>
	<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Age_in_years_and_months/doc&amp;action=history"/>
	<updated>2026-11-10T13:36:48Z</updated>
	<subtitle>本wiki上该页面的版本历史</subtitle>
	<generator>MediaWiki 1.39.6</generator>
	<entry>
		<id>https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Age_in_years_and_months/doc&amp;diff=5091&amp;oldid=prev</id>
		<title>Zeroclanzhang：​创建页面，内容为“{{Documentation subpage}} {{shortcut|Template:Age ym}} {{Lua|Module:Age}} &lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&gt;  This template returns the duration between two specified dates as a number of full years and remaining months. If the second set of parameters is not included, the duration is between the specified date and today&#039;s date.  ===Syntax=== : {{tc|age in years and months&amp;nbsp;|&#039;&#039;year1&#039;&#039;|&#039;&#039;month1&#039;&#039;|&#039;&#039;day1&#039;&#039;&amp;nbsp;|&#039;&#039;year2&#039;&#039;|&#039;&#039;month2&#039;&#039;|&#039;&#039;day2&#039;&#039;…”</title>
		<link rel="alternate" type="text/html" href="https://wiki.statsape.com/index.php?title=%E6%A8%A1%E6%9D%BF:Age_in_years_and_months/doc&amp;diff=5091&amp;oldid=prev"/>
		<updated>2024-01-18T06:33:20Z</updated>

		<summary type="html">&lt;p&gt;创建页面，内容为“{{Documentation subpage}} {{shortcut|Template:Age ym}} {{Lua|Module:Age}} &amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;  This template returns the duration between two specified dates as a number of full years and remaining months. If the second set of parameters is not included, the duration is between the specified date and today&amp;#039;s date.  ===Syntax=== : {{tc|age in years and months |&amp;#039;&amp;#039;year1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;month1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;day1&amp;#039;&amp;#039; |&amp;#039;&amp;#039;year2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;month2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;day2&amp;#039;&amp;#039;…”&lt;/p&gt;
&lt;p&gt;&lt;b&gt;新页面&lt;/b&gt;&lt;/p&gt;&lt;div&gt;{{Documentation subpage}}&lt;br /&gt;
{{shortcut|Template:Age ym}}&lt;br /&gt;
{{Lua|Module:Age}}&lt;br /&gt;
&amp;lt;!-- EDIT TEMPLATE DOCUMENTATION BELOW THIS LINE --&amp;gt;&lt;br /&gt;
&lt;br /&gt;
This template returns the duration between two specified dates as a number of full years and remaining months. If the second set of parameters is not included, the duration is between the specified date and today&amp;#039;s date.&lt;br /&gt;
&lt;br /&gt;
===Syntax===&lt;br /&gt;
: {{tc|age in years and months&amp;amp;nbsp;|&amp;#039;&amp;#039;year1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;month1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;day1&amp;#039;&amp;#039;&amp;amp;nbsp;|&amp;#039;&amp;#039;year2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;month2&amp;#039;&amp;#039;|&amp;#039;&amp;#039;day2&amp;#039;&amp;#039;}}&lt;br /&gt;
: {{tc|age in years and months&amp;amp;nbsp;|&amp;#039;&amp;#039;year1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;month1&amp;#039;&amp;#039;|&amp;#039;&amp;#039;day1&amp;#039;&amp;#039;}} &amp;amp;nbsp;(causing the current date to be used as the second date)&lt;br /&gt;
&lt;br /&gt;
===Examples===&lt;br /&gt;
{{Markup&lt;br /&gt;
 |width=auto |codestyle=width:32.0em;white-space:nowrap;padding-right:1.0em; |outputstyle=padding-left:12.5em;&lt;br /&gt;
 | &amp;lt;nowiki&amp;gt;{{age in years and months |1989|7|23 |2003|7|14}}&amp;lt;/nowiki&amp;gt; | {{age in years and months |1989|7|23 |2003|7|14}}&lt;br /&gt;
 | &amp;lt;nowiki&amp;gt;{{age in years and months |1989|7|23 |1989|8|22}}&amp;lt;/nowiki&amp;gt; | {{age in years and months |1989|7|23 |1989|8|22}}&lt;br /&gt;
 | &amp;lt;nowiki&amp;gt;{{age in years and months |1989|7|23 |1989|8|23}}&amp;lt;/nowiki&amp;gt; | {{age in years and months |1989|7|23 |1989|8|23}}&lt;br /&gt;
 | &amp;lt;nowiki&amp;gt;{{age in years and months |1989|7|23 |1990|7|23}}&amp;lt;/nowiki&amp;gt; | {{age in years and months |1989|7|23 |1990|7|23}}&lt;br /&gt;
 | &amp;lt;nowiki&amp;gt;{{age in years and months |1989|7|23}}&amp;lt;/nowiki&amp;gt;            | {{age in years and months |1989|7|23}}&lt;br /&gt;
 | &amp;lt;nowiki&amp;gt;{{age in years and months |1990|7|23 |1989|7|23}}&amp;lt;/nowiki&amp;gt; | {{age in years and months |1990|7|23 |1989|7|23}}&lt;br /&gt;
 | &amp;lt;nowiki&amp;gt;{{age in years and months |1990|9|23 |1989|7|23}}&amp;lt;/nowiki&amp;gt; | {{age in years and months |1990|9|23 |1989|7|23}}&lt;br /&gt;
}}&lt;br /&gt;
&lt;br /&gt;
&lt;br /&gt;
{{Birth, death and age templates |age}}&lt;br /&gt;
&lt;br /&gt;
&amp;lt;includeonly&amp;gt;{{Sandbox other|&lt;br /&gt;
|&amp;lt;!-- ADD CATEGORIES BELOW THIS LINE, PLEASE: --&amp;gt;&lt;br /&gt;
[[Category:Date mathematics templates]]&lt;br /&gt;
[[Category:Date-computing templates]]&lt;br /&gt;
}}&amp;lt;/includeonly&amp;gt;&lt;/div&gt;</summary>
		<author><name>Zeroclanzhang</name></author>
	</entry>
</feed>