Difference between revisions of "Template:Age"
Jump to navigation
Jump to search
m (User:Zai Lynch/Sandbox/Age moved to Template:Age: works) |
m (blank fix) |
||
Line 1: | Line 1: | ||
<includeonly>{{#expr:(({{ #time: U | {{CURRENTTIMESTAMP}} }} - {{ #time: U | {{{1}}}.{{{2}}}.{{{3}}} }}) / 86400) round 0}}</includeonly> | <includeonly>{{#expr:(({{ #time: U | {{CURRENTTIMESTAMP}} }} - {{ #time: U | {{{1}}}.{{{2}}}.{{{3}}} }}) / 86400) round 0}}</includeonly><noinclude>This template calculates a difference in days between a given date (past 01.01.1970) and the current date. Use it with <nowiki>{{Age|DD|MM|YYYY}}</nowiki>.</noinclude> | ||
<noinclude> | |||
This template calculates a difference in days between a given date (past 01.01.1970) and the current date. Use it with <nowiki>{{Age|DD|MM|YYYY}}</nowiki>. | |||
</noinclude> |
Revision as of 20:54, 2 June 2008
This template calculates a difference in days between a given date (past 01.01.1970) and the current date. Use it with {{Age|DD|MM|YYYY}}.