Difference between revisions of "Template:DATE"

From Culture.si
 
(5 intermediate revisions by the same user not shown)
Line 1: Line 1:
{{#expr:
+
{{SERIALDATE
  ((({{{1}}})+32044 round 0)/146097+0.5 round 0)*400+
+
|{{#timel:Y|{{{1|}}}}}
  (((({{{1}}})+32044 round 0)mod 146097/36524+0.5 round 0)*3/4+0.5 round 0)*100+
+
|{{#timel:m|{{{1|}}}}}
  (((({{{1}}})+32044 round 0)mod 146097+36524-
+
|{{#timel:d|{{{1|}}}}}
  (((({{{1}}})+32044 round 0)mod 146097/36524+0.5 round 0)*3/4+0.5 round 0)*36524
 
  )/1461+0.5 round 0)*4+
 
((((({{{1}}})+32044 round 0)mod 146097+36524-
 
  (((({{{1}}})+32044 round 0)mod 146097/36524+0.5 round 0)*3/4+0.5 round 0)*36524
 
  )mod 1461/365+0.5 round 0)*3/4+0.5 round 0)+
 
(((((({{{1}}})+32044 round 0)mod 146097+36524-
 
  (((({{{1}}})+32044 round 0)mod 146097/36524+0.5 round 0)*3/4+0.5 round 0)*36524
 
  )mod 1461-
 
((((({{{1}}})+32044 round 0)mod 146097+36524-
 
  (((({{{1}}})+32044 round 0)mod 146097/36524+0.5 round 0)*3/4+0.5 round 0)*36524
 
  )mod 1461/365+0.5 round 0)*3/4+0.5 round 0)*365+365)*5+308)/153-0.5 round 0)
 
  /12-5305.5 round 0
 
 
}}
 
}}

Latest revision as of 11:32, 29 August 2011

2460667