Difference between revisions of "Template:Age"
Jump to navigation
Jump to search
m (User:Zai Lynch/Sandbox/Age moved to Template:Age: works) |
m (should work better with local time zone since local = SLT) |
||
(One intermediate revision by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>{{#expr:(({{ #time: U | {{ | <includeonly>{{#expr:(({{ #time: U | {{LOCALDAY2}}.{{LOCALMONTH}}.{{LOCALYEAR}} }} - {{ #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> |
Latest revision as of 21:25, 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}}.