Template:Age in years and days nts/testcases

Test0
{{Age in years and days nts}}

{{Age in years and days nts}}

0 days

{{Age in years and days nts/sandbox}}

0 days

Test1
{{Age in years and days nts|15 May 2010}}

{{Age in years and days nts}}

14 years, 185 days

{{Age in years and days nts/sandbox}}

14 years, 185 days

Test2
{{Age in years and days nts|12 Aug 2003|24 Sep 2011}}

{{Age in years and days nts}}

8 years, 43 days

{{Age in years and days nts/sandbox}}

8 years, 43 days

Test3
{{Age in years and days nts|1989|7|23}}

{{Age in years and days nts}}

35 years, 116 days

{{Age in years and days nts/sandbox}}

35 years, 116 days

Test4
{{Age in years and days nts|1989|7|23|2003|7|24}}

{{Age in years and days nts}}

14 years, 1 day

{{Age in years and days nts/sandbox}}

14 years, 1 day

Test5
{{Age in years and days nts|2007|03|02|2008|03|02}}

{{Age in years and days nts}}

1 year, 0 days

{{Age in years and days nts/sandbox}}

1 year, 0 days

Test6
{{Age in years and days nts|31 January 1892|29 February 1900}}

{{Age in years and days nts}}

Error: Second date should be year, month, day

{{Age in years and days nts/sandbox}}

Error: Second date should be year, month, day