Difference between revisions of "Template:Weeks until"
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> |