Template:Age: Difference between revisions

    From Nonbinary Wiki
    No edit summary
    ({{tfd}})
    Line 1: Line 1:
    <includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>
    {{tfd|Template:Age}}<includeonly>{{#expr:({{{4|{{CURRENTYEAR}}}}})-({{{1}}})-(({{{5|{{CURRENTMONTH}}}}})<({{{2}}})or({{{5|{{CURRENTMONTH}}}}})=({{{2}}})and({{{6|{{CURRENTDAY}}}}})<({{{3}}}))}}</includeonly><noinclude>


    {{tiw|age}}.
    {{tiw|age}}.

    Revision as of 07:02, 2 July 2006

    Template:Tfd

    Template:Tiw.

    This template returns the number of full years elapsed at one date since another date or since today (UTC).

    Syntax:
    {{Age|year1|month1|day1|year2|month2|day2}}
    {{Age|year1|month1|day1}}

    Examples:

    See also Template:Tiw and Template:Tiw.