User:Abased Fear/Template/AgeInYears

From Guild Wars Wiki
Jump to navigationJump to search

Usage[edit]

A utility template that displays the number of days value returned by {{Datediff}} in years only (days if less than 1 year). The date value given to this value is "diff-ed" with the current date.

Examples[edit]

{{User:Abased Fear/Template/AgeInYears|20090101}}
15 years
{{User:Abased Fear/Template/AgeInYears|1 Jan 2007}}
17 years