Difference between revisions of "Template:Birth date and age"
Jump to navigation
Jump to search
Line 1: | Line 1: | ||
<includeonly> | <includeonly> | ||
{{{3|{{{day}}}}}}-{{{2|{{{month}}}}}}-{{{1|{{{year}}}}}} | {{{3|{{{day}}}}}}-{{{2|{{{month}}}}}}-{{{1|{{{year}}}}}} | ||
age {{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1|{{{year}}}}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2|{{{month}}}}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2|{{{month}}}}}})and({{{6|{{CURRENTDAY}}}}})<({{{3|{{{day}}}}}}))}} | (age {{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1|{{{year}}}}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2|{{{month}}}}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2|{{{month}}}}}})and({{{6|{{CURRENTDAY}}}}})<({{{3|{{{day}}}}}}))}}) | ||
</includeonly> | </includeonly> | ||
<noinclude> | <noinclude> | ||
xxx | xxx | ||
</noinclude> | </noinclude> |
Revision as of 19:12, 3 February 2015
xxx