Template:Age in years, months and days/testcases

From MattWiki
Jump to: navigation, search

Partial start date, no end date

{{Age in years, months and days|year=2008}}
Current: 8 or 9 years
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|month=3}} (invalid usage)
Current: some time
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|day=10}} (invalid usage)
Current: some time
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2008|month=7}}
Current: 9 years and 3 or 4 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2008|day=10}} (invalid usage)
Current: 8 or 9 years
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|month=3|day=10}} (invalid usage)
Current: some time
Sandbox: Template:Age in years, months and days/sandbox

Partial start date, full end date

{{Age in years, months and days|1=2008|4=2015|5=1|6=15}}
Current: 6 or 7 years
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|4=2015|5=12|6=15}}
Current: 6 or 7 years
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2=3|4=2018|5=7|6=15}} (invalid usage)
Current: some time
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|3=10|4=2018|5=7|6=15}} (invalid usage)
Current: some time
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|2=7|4=2015|5=8|6=15}}
Current: 7 years and 0 or 1 month
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|2=7|4=2015|5=7|6=15}}
Current: 6 or 7 years
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|2=7|4=2015|5=6|6=15}}
Current: 6 years and 10 or 11 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2007|2=12|4=2015|5=1|6=15}}
Current: 7 years and 0 or 1 month
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|2=1|4=2014|5=12|6=15}}
Current: 6 years and 10 or 11 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|3=10|4=2015|5=7|6=15}} (invalid usage)
Current: 6 or 7 years
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2=3|3=10|4=2018|5=7|6=15}} (invalid usage)
Current: some time
Sandbox: Template:Age in years, months and days/sandbox

Full start date, no end date

{{Age in years, months and days|year=2015|month=10|day=20}}
Current: 2 years, 1 month and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2015|month=10|day=21}}
Current: 2 years and 1 month
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2015|month=10|day=22}}
Current: 2 years and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2015|month=11|day=20}}
Current: 2 years and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2015|month=11|day=21}}
Current: 2 years
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2015|month=11|day=22}}
Current: 1 year, 11 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2015|month=12|day=20}}
Current: 1 year, 11 months and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2015|month=12|day=21}}
Current: 1 year and 11 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2015|month=12|day=22}}
Current: 1 year, 10 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2016|month=10|day=20}}
Current: 1 year, 1 month and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2016|month=10|day=21}}
Current: 1 year and 1 month
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2016|month=10|day=22}}
Current: 1 year and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2016|month=11|day=20}}
Current: 1 year and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2016|month=11|day=21}}
Current: 1 year
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2016|month=11|day=22}}
Current: 11 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2016|month=12|day=20}}
Current: 11 months and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2016|month=12|day=21}}
Current: 11 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2016|month=12|day=22}}
Current: 10 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2017|month=10|day=20}}
Current: 1 month and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2017|month=10|day=21}}
Current: 1 month
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2017|month=10|day=22}}
Current: 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2017|month=11|day=20}}
Current: 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2017|month=11|day=21}}
Current: no days at all
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2017|month=11|day=22}} (invalid usage)
Current: Error: Invalid time. -1 years, 11 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2017|month=12|day=20}} (invalid usage)
Current: Error: Invalid time. -1 years, 11 months and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2017|month=12|day=21}} (invalid usage)
Current: Error: Invalid time. -1 years and 11 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2017|month=12|day=22}} (invalid usage)
Current: Error: Invalid time. -1 years, 10 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2018|month=10|day=20}} (invalid usage)
Current: Error: Invalid time. -1 years, 1 month and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2018|month=10|day=21}} (invalid usage)
Current: Error: Invalid time. -1 years and 1 month
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2018|month=10|day=22}} (invalid usage)
Current: Error: Invalid time. -1 years and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2018|month=11|day=20}} (invalid usage)
Current: Error: Invalid time. -1 years and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2018|month=11|day=21}} (invalid usage)
Current: Error: Invalid time. -1 years
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2018|month=11|day=22}} (invalid usage)
Current: Error: Invalid time. -2 years, 11 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2018|month=12|day=20}} (invalid usage)
Current: Error: Invalid time. -2 years, 11 months and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2018|month=12|day=21}} (invalid usage)
Current: Error: Invalid time. -2 years and 11 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|year=2018|month=12|day=22}} (invalid usage)
Current: Error: Invalid time. -2 years, 10 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox

Full start date, partial end date

{{Age in years, months and days|1=2008|2=1|3=15|4=2015}} (invalid usage)
Current: Error: Invalid time. 7 years, 10 months and 6 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|2=12|3=15|4=2015}} (invalid usage)
Current: Error: Invalid time. 6 years, 11 months and 6 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|2=7|3=15|5=3}} (invalid usage)
Current: Error: Invalid time. 8 years, 8 months and 6 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|2=7|3=15|6=10}} (invalid usage)
Current: Error: Invalid time. 9 years, 3 months and 26 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|2=3|3=10|4=2015|5=8}} (invalid usage)
Current: Error: Invalid time. 7 years, 5 months and 11 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|2=3|3=10|4=2015|6=15}} (invalid usage)
Current: Error: Invalid time. 7 years, 8 months and 5 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|1=2008|2=3|3=10|5=7|6=15}} (invalid usage)
Current: Error: Invalid time. 9 years, 4 months and 5 days
Sandbox: Template:Age in years, months and days/sandbox

Full start and end dates

{{Age in years, months and days|2008|1|1|2015|12|31}}
Current: 7 years, 11 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|1|15|2015|12|14}}
Current: 7 years, 10 months and 29 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|1|15|2015|12|15}}
Current: 7 years and 11 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|1|15|2015|12|16}}
Current: 7 years, 11 months and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|1|31|2015|12|1}}
Current: 7 years and 10 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|1|2015|1|31}}
Current: 6 years, 6 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|1|2015|7|31}}
Current: 7 years and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|1|2015|8|31}}
Current: 7 years, 1 month and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|15|2015|1|14}}
Current: 6 years, 5 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|15|2015|1|15}}
Current: 6 years and 6 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|15|2015|1|16}}
Current: 6 years, 6 months and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|15|2015|7|14}}
Current: 6 years, 11 months and 29 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|15|2015|7|15}}
Current: 7 years
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|15|2015|7|16}}
Current: 7 years and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|15|2015|8|14}}
Current: 7 years and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|15|2015|8|15}}
Current: 7 years and 1 month
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|15|2015|8|16}}
Current: 7 years, 1 month and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|31|2015|1|1}}
Current: 6 years, 5 months and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|31|2015|7|1}}
Current: 6 years and 11 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|7|31|2015|8|1}}
Current: 7 years and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|1|2015|7|31}}
Current: 6 years, 11 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|15|2015|7|14}}
Current: 6 years, 10 months and 29 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|15|2015|7|15}}
Current: 6 years and 11 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|15|2015|7|16}}
Current: 6 years, 11 months and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|31|2015|7|1}}
Current: 6 years and 10 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|12|1|2015|1|31}}
Current: 6 years, 1 month and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|12|15|2015|1|14}}
Current: 6 years and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|12|15|2015|1|15}}
Current: 6 years and 1 month
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|12|15|2015|1|16}}
Current: 6 years, 1 month and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|12|31|2015|1|1}}
Current: 6 years and 1 day
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|1|29|2015|3|1}}
Current: 7 years and 1 month
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|1|30|2015|3|1}}
Current: 7 years and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|1|31|2015|3|1}}
Current: 7 years and 29 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|2|1|2015|3|1}}
Current: 7 years and 1 month
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|29|2015|3|1}}
Current: 6 years and 6 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|30|2015|3|1}}
Current: 6 years, 5 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|31|2015|3|1}}
Current: 6 years, 5 months and 29 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|9|1|2015|3|1}}
Current: 6 years and 6 months
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|31|2015|2|28}}
Current: 6 years, 5 months and 28 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|31|2015|3|1}}
Current: 6 years, 5 months and 29 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|31|2015|3|2}}
Current: 6 years, 5 months and 30 days
Sandbox: Template:Age in years, months and days/sandbox
{{Age in years, months and days|2008|8|31|2015|3|3}}
Current: 6 years and 6 months
Sandbox: Template:Age in years, months and days/sandbox