Template:Date and lifetime in years

Template page
Revision as of 03:20, 25 April 2023 by eunakria (Discord-317484070127009793) (talk | contribs) (got the template params the wrong way around đŸ« )
(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 lifetime in years|2000-01-01T00:00:00Z|1991-06-24T00:00:00Z}} 1 January 2000 (aged 8 years)
{{Date and lifetime in years|2000-01-01|1991-06-24}} 1 January 2000 (aged 8 years)

See also