From TheKolWiki
Jump to: navigation, search


This evaluates the number of days since May 31 2006 03:31 UTC, one day before all three phases of the moons were ‘1’:

Minimoon2.gif Moon1.gif Moon1.gif

The constant 1149046260 is obtained via

{{#time: U|2006-05-31 03:31 UTC}}

and 86400 is the number of seconds in one day (discarding leap seconds). The rest of the code takes care of truncating fractional results.