Template:Age in years and days/testcases

Main template
Two fixed dates: 1 year, 29 days Fixed date-today: 19 years, 152 days

Leap year test
No leap year (1900): 1 day No leap year (1901): 1 day Yes leap year (1904): 2 days

Single-plural test
Single year and day: 1 year, 2 days Plural year and day: 2 years, 3 days Single year and day over a leap day: 1 year, 2 days Plural year and day over a leap day: 2 years, 3 days Single year and day over new years: 1 year, 1 day Plural year and day over new years: 2 years, 3 days

Sandbox template
Two fixed dates: Fixed date-today:

Leap year test
No leap year (1900): No leap year (1901): Yes leap year (1904):

Single-plural test
Single year and day: Plural year and day: Single year and day over a leap day: Plural year and day over a leap day: Single year and day over new years: Plural year and day over new years: