Difference between revisions of "Template:Weeks until"

From Conservapedia
Jump to navigation Jump to search
(variation on Template:Days until)
 
m (try floor() function)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
−
<includeonly>{{#expr: ceil({{JULIANDAY|{{{1}}}|{{{2}}}|{{{3}}}}} - {{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}) / 7}}</includeonly>
+
<includeonly>{{#expr: floor(ceil({{JULIANDAY|{{{1}}}|{{{2}}}|{{{3}}}}} - {{JULIANDAY|{{CURRENTYEAR}}|{{CURRENTMONTH}}|{{CURRENTDAY}}}}) / 7)}}</includeonly>

Latest revision as of 13:33, September 10, 2020