Template:Hu/Életkor/doc

From Hattrick
Jump to navigationJump to search
Explanation
Calculates the Hattrick time (years and days) that has passed from a date x until now. Typical use: automatical player age display, hence the name. For years only, use Template:AgeYears.
Syntax
{{Age | YEAR | MONTH | DAY }}
Examples
{{Age|2010|10|10}} produces 51 years and 109 days
{{Age|2009|10|10}} produces 55 years and 26 days
{{Age|2008|10|10}} produces 58 years and 55 days
{{Age|2002|10|10}} produces 78 years and 7 days