Difference between revisions of "Template:OutageCounter"

From CWCki
Jump to navigation Jump to search
m (1 revision)
(Reset the counter, because the simplistic math doesn't account for year change. Better to be slightly wrong than completely wrong =))
Line 1: Line 1:
{{#expr: (-352 +{{#time:z}})}} days without an outage!<noinclude>
{{#expr: (-0 +{{#time:z}})}} days without an outage!<noinclude>


Here's the code I whipped up:<nowiki>{{#expr: (-xxx +{{#time:z}})}}</nowiki>
Here's the code I whipped up:<nowiki>{{#expr: (-xxx +{{#time:z}})}}</nowiki>

Revision as of 20:29, 1 January 2010

137 days without an outage!

Here's the code I whipped up:{{#expr: (-xxx +{{#time:z}})}}
To calculate the date to put in without having to figure it out manually use http://mistupid.com/calendar/dayofyear.htm
Then replace xxx with the calculated date.--Ror

Today is day 137