Difference between revisions of "Template:JULIANDIFF"

From Hattrick
(Created page with '<includeonly>{{#expr:{{JULIANDAY|{{{1}}}|{{{2}}}|{{{3}}} }}-{{JULIANDAY|{{{4}}}|{{{5}}}|{{{6}}} }} }}</includeonly> <noinclude>aaa</noinclude>')
 
 
Line 1: Line 1:
<includeonly>{{#expr:{{JULIANDAY|{{{1}}}|{{{2}}}|{{{3}}} }}-{{JULIANDAY|{{{4}}}|{{{5}}}|{{{6}}} }} }}</includeonly>
+
<includeonly>{{#expr:{{JULIANDAY|{{{1}}}|{{{2}}}|{{{3}}} }}-{{JULIANDAY|{{{4}}}|{{{5}}}|{{{6}}} }} }}</includeonly><noinclude>{{documentation}}</noinclude>
<noinclude>aaa</noinclude>
 

Latest revision as of 21:44, 3 November 2010

[edit] Template documentation

Syntax
{{JULIANDIFF | YEAR_A | MONTH_A | DAY_A | YEAR_B | MONTH_B | DAY_B }}
Examples
{{JULIANDIFF|2010|1|1|2009|1|1}} produces 365
{{JULIANDIFF|2009|1|1|2010|1|1}} produces -365
{{JULIANDIFF|2010|1|1|2010|2|1}} produces -31
{{JULIANDIFF|2010|2|1|2010|1|1}} produces 31