No edit summary
No edit summary
Line 1: Line 1:
<includeonly>
{{#time: F j, Y|{{{1}}}-{{{2}}}-{{{3}}}}} (age {{#expr: {{CURRENTYEAR}} - {{{1}}} - ({{CURRENTMONTH}}*100 + {{CURRENTDAY}} < {{{2}}}*100 + {{{3}}}) }})
</includeonly>
<noinclude>
<noinclude>
<includeonly>{{#expr: {{CURRENTYEAR}} - {{{1}}} - ({{CURRENTMONTH}} < {{{2}}} or ({{CURRENTMONTH}} = {{{2}}} and {{CURRENTDAY}} < {{{3}}}))}} years old (born {{{1}}}-{{{2}}}-{{{3}}})</includeonly>
<noinclude>
{{#if: {{{3|}}} |
  {{{1}}} {{{2}}}, {{{3}}}
|
  {{{1}}} {{{2}}}
}}


== Usage ==
== Usage ==

Revision as of 09:27, 30 July 2025


Usage

{{Birth date and age|YYYY|MM|DD}}

Example:

{{Birth date and age|1946|6|14}}


Usage

{{Birth date and age|YYYY|MM|DD}}

Example:

{{Birth date and age|1946|6|14}}