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 |
||
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> |
Revision as of 14:49, 13 June 2008
Usage
{{age|YYYY|MM|DD}}
- Ex.:
{{age|1988|01|04}}
produces 36
.