Difference between revisions of "Template:Age"
From Geohashing
imported>Tjtrumpet2323 (New page: <includeonly>{{ #expr: ({{CURRENTYEAR}})-({{{1}}}) - ( ( {{CURRENTMONTH}} ) < ( 0 + {{{2}}} ) or ( {{CURRENTMONTH}} ) = ( 0 + {{{2}}} ) and ( {{CURRENTDAY}} )<( 0 + {{{3}}} )) }}</includeo...) |
imported>Tjtrumpet2323 m |
||
(4 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
− | <includeonly>{{ #expr: ({{CURRENTYEAR}})-({{{1}}}) - ( ( {{CURRENTMONTH}} ) < ( 0 + {{{2}}} ) or ( {{CURRENTMONTH}} ) = ( 0 + {{{2}}} ) and ( {{CURRENTDAY}} )<( 0 + {{{3}}} )) }}</includeonly><noinclude>== Usage == | + | <includeonly>{{#expr:({{CURRENTYEAR}})-({{{1}}})-(({{CURRENTMONTH}}) < (0+{{{2}}}) or ({{CURRENTMONTH}}) = (0+{{{2}}}) and ({{CURRENTDAY}})<(0+{{{3}}}))}}</includeonly> |
− | < | + | <noinclude>== Usage == |
− | '''Ex.:''' < | + | * <code><nowiki>{{age|YYYY|MM|DD}}</nowiki></code> |
+ | * '''Ex.:''' <code><nowiki>{{age|1988|01|04}}</nowiki></code> produces {{age|1988|01|04}}. | ||
</noinclude> | </noinclude> |
Latest revision as of 15:19, 13 June 2008
Usage
{{age|YYYY|MM|DD}}
- Ex.:
{{age|1988|01|04}}
produces 37
.