قالب:Age in years and months/sandbox
This is the template sandbox page for قالب:Age in years and months (diff). |
The content of this template is only visible when the template is transcluded.
Usage
This template returns the number of full years and remaining days between two specified dates. If the second set of parameters is not included, it will return the number of full years and remaining months between a specified date and today's date.
- Syntax:
- {{age in years and months|year1|month1|day1|year2|month2|day2}} or
- {{age in years and months|year1|month1|day1}}
- Examples:
- {{age in years and months|1989|7|23|2003|7|14}} returns "خطأ: الوظيفة "age_ym" غير موجودة."
- {{age in years and months|1989|7|23}} returns "خطأ: الوظيفة "age_ym" غير موجودة."
See also
- {{age}} — Age in years
- {{age in days}} — Age in days
- {{age in years and days}} — Age in years and days
- {{date}} — Today's date
The above documentation is transcluded from قالب:Age in years and months/doc. (edit | history) Editors can experiment in this template's sandbox (edit | diff) and testcases (create) pages. Please add categories to the /doc subpage. Subpages of this template. |