Difference between revisions of "Age"

From Sega Retro

(Created page with "<includeonly>{{#ifexpr: {{CURRENTMONTH}} > {{month|{{{1}}}}} | {{#expr:{{CURRENTYEAR}}-{{year|{{{1}}}}}}} }}{{#ifexpr: {{CURRENTMONTH}} < {{month|{{{1}}}}} | {{#expr:{{CURRENT...")
(No difference)

Revision as of 03:17, 29 July 2015

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

33