Template:Date and lifetime in years and months

Template page
Revision as of 03:15, 25 April 2023 by eunakria (Discord-317484070127009793) (talk | contribs) (initial)
(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 and months|1991-06-24T00:00:00Z|2000-01-01T00:00:00Z}} 24 June 1991 (aged 8 years, 7 months)
{{Date and lifetime in years and months|1991-06-24|2000-01-01}} 24 June 1991 (aged 8 years, 7 months)

See also