Template:Date and age in years

Template page
Revision as of 02:40, 25 April 2023 by eunakria (Discord-317484070127009793) (talk | contribs) (Created page with "<includeonly>{{#invoke:Age|format_date|{{{1}}}}} ''({{#invoke:Age|format_age|{{{1}}}|{{#invoke:Age|retro|25}}|years}} old)''</includeonly><noinclude> Convert an ISO-formatted timestamp, or its respective date component, to its age in-universe (25 years ago, to the day). This template is tentative and prone to revision. {| class="wikitable" style="margin:auto" |+ Examples |- ! Input !! Output |- | <code><nowiki>{{Date and age in years|1991-06-24T00:00:00Z}}</nowiki></cod...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Convert an ISO-formatted timestamp, or its respective date component, to its age in-universe (25 years ago, to the day). This template is tentative and prone to revision.

Examples
Input Output
{{Date and age in years|1991-06-24T00:00:00Z}} 24 June 1991 (9 years old)
{{Date and age in years|1991-06-24}} 24 June 1991 (9 years old)

See also