استفاده
برای راحتی از تغییر مسیر ayd می توان استفاده کرد. هر تاریخ می تواند تک پارامتری یا سه پارامتری (سال،ماه،روز) وارد گردد.
{{ayd|15 May 2010}} → ۱۶ سال، ۲۰۲ روز
{{ayd|12 Aug 2003|24 Sep 2011}} → ۸ سال، ۴۳ روز
{{ayd|1989|7|23}} → ۳۷ سال، ۱۳۳ روز
{{ayd|1989|7|23|2003|7|24}} → ۱۴ سال، ۱ روز
{{ayd|2007|03|02|2008|03|02}} → ۱ سال، ۰ روز
An error is shown if an entered date is not valid (1900 was not a leap year).
{{ayd|31 January 1892|29 February 1900}} → Error: Second date should be year, month, day
جستارهای وابسته
الگوهای تولد، مرگ و سن |
|---|
تولد، مرگ، سن |
|---|
| الگو | شرح / کاربرد | | {{BirthDeathAge}} | Combines functions of {{تاریخ تولد}}, {{Birth-date}}, {{تاریخ تولد و سن}}, {{سال تولد و سن}}, {{Death date}}, {{death-date}}, {{تاریخ مرگ و سن}} and {death year and age}}. | | {{تاریخ تولد}} | To display a birth date and related hidden metadata. | | {{birth-date}} | | | {{تاریخ تولد و سن}} | {{birth date}} with suffix "(age N)". | | {{birth date and age2}} | {{birth date and age}} plus age as of a specified date. | | {{تاریخ-تولد و سن}} | As {{birth date and age}} but accepts dates in text form ("15 June 1950", "June 15, 1950", "June 1950", etc). | | {{سال تولد و سن}} | Year of birth and approximate age. | | {{Birth based on age as of date}} | To display approximate birth year and current age given a particular date (e.g. when a dated reference mentions the age of a person). | | {{Birth date based on age at death}} | To display approximate birth year based on age at death. |
| الگو | شرح / کاربرد | | {{death date}} | To display a death date and related hidden metadata. | | {{end-date}} | | | {{تاریخ مرگ و سن}} | {{death date}} with suffix "(age N)". | | {{death-date and age}} | As {{death date and age}} but accepts dates in text form ("15 June 1950", "June 15, 1950", "June 1950", etc). | | {{تاریخ مرگ و سن معلوم}} | To display a death date and specified age. | | {{سال مرگ و سن}} | To display a year of and approximate age at death. |
|
|
فقط سن |
|---|
| الگو | شرح / کاربرد | | {{سن}} | Age based on number of complete years between two dates. | | {{age nts}} | {{age}} with output formatted for use in sortable tables. | | {{سن از تاریخ}} | Current age (in years) from a known age at a specified date. |
|
|
|