Mall:Age in years and months

Från Järnvägsdata
Version från den 15 februari 2020 kl. 08.12 av jarnvagsdata>Johnuniq (Protected "Template:Age in years and months": moderately visible template ([Edit=Require autoconfirmed or confirmed access] (indefinite) [Move=Require autoconfirmed or confirmed access] (indefinite)))
(skillnad) ← Äldre version | Nuvarande version (skillnad) | Nyare version → (skillnad)

[visa] [redigera] [rensa sidcachen]

Test Template Info-Icon.svg Dokumentation


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's date.

Syntax

{{age in years and months |year1|month1|day1 |year2|month2|day2}}
{{age in years and months |year1|month1|day1}}  (causing the current date to be used as the second date)

Examples

Markup Renders as
[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]

[markup]

[rendering]