Age
From Sonic Retro
Revision as of 19:20, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
Revision as of 19:20, 1 January 2022 by BSonirachi (talk | contribs) (Text replacement - "Category:Sonic Retro templates" to "Category:Templates")
Convert a date in the format YYYY-MM-DD to an age in years (based on the current date).
Usage
{{age|1991-06-23}}
returns
31
Optional parameter
Add a second date to calculate the age on that date.
{{age|1991-06-23|1999-09-09}}
returns
8