Үлгі:Age

Уикипедия — ашық энциклопедиясынан алынған мәлімет
Навигацияға өту Іздеуге өту
Бұл өте тәуекелді үлгісі, бұзақылыққа кедергі істеу үшін, өңдеуден қорғалған. Өзгертулер туралы пікіріңізді талқылау бетінде қалдырыңыз. Өңдеу жасауды әкімшілерден сұрау үшін {{editprotected}} үлгісін талқылау бетінде қолдануға болады.

Template:age (talk, backlinks, edit).

This template returns the number of full years between two dates, or between a specified date and today (UTC).

Syntax:
{{age|year1|month1|day1|year2|month2|day2}}
{{age|year1|month1|day1}}

Examples:

  • {{age|1989|7|23|2003|7|14}} gives 13
  • {{age|1989|7|23}} gives 34


If you use this template for calculating someone's age at death or age at a certain date (rather than their current age), please substitute it into the page, for example: {{subst:age|1989|7|23|2003|7|14}}.