Open main menu

Changes

bypass redirect
{{#ifexpr:{{{years|0}}}<0|{{error|Error: Invalid time. }}|}}{{#switch:{{{years|0}}}
| 0 =
| 1 = 1&nbsp;year
| #default = {{{years}}}&nbsp;years
}}{{#ifeq:{{{years|0}}}|0|<!--null-->|{{#ifeq:{{{months|0}}}|0|<!--null-->|{{#ifeq:{{{days|0}}}|0|&#32;and&#32;|,&#32;}} }} }}{{#switch:{{{months|0}}}
| 0 =
| 1 = 1&nbsp;month
| #default = {{{months}}}&nbsp;months
}}{{#ifeq:{{{years|0}}}|0|{{#ifeq:{{{months|0}}}|0|<!--null-->|{{#ifeq:{{{days|0}}}|0|<!--null-->|&#32;and&#32;}} }}|{{#ifeq:{{{days|0}}}|0|<!--null-->|{{#if:{{{sc|}}}|{{#ifeq:{{{months|0}}}|0|<!--null-->|,}}|<!--null-->}}&#32;and&#32;}} }}{{#switch:{{{days|0}}}
| 0 = {{#ifeq:{{{years|0}}}|0|{{#ifeq:{{{months|0}}}|0|no days at all}} }}
| 1 = 1&nbsp;day
| #default = {{{days}}}&nbsp;days
}}<noinclude>{{Documentation|Template:Age in years, months and days/doc}}</noinclude>
Anonymous user