Template:JULIANDIFF

From Hattrick

[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