Difference between revisions of "Template:MONTHDIFF2"

From blackwiki
Jump to navigation Jump to search
imported>Nsaa
(created)
 
imported>Frietjes
 
Line 1: Line 1:
{{#expr: {{DATEDIFF2|{{{1}}} }}/365.2425*12 round 0 }}<noinclude>
+
{{#expr: {{DATEDIFF2|{{{1|0}}} }}/365.2425*12 round 0 }}<noinclude>
 
{{Documentation}}
 
{{Documentation}}
 
</noinclude>
 
</noinclude>

Latest revision as of 19:09, 29 August 2012

0

Template documentation[view] [edit] [history] [purge]

Usage

This templates counts the approx number of months since the given date.

CodeResult
{{MONTHDIFF2|2004-03-10}}258
{{MONTHDIFF2|2001-03-10}}294

See also