User:Tjtrumpet2323/sandbox
From Geohashing
< User:Tjtrumpet2323
Revision as of 17:39, 1 July 2008 by imported>Tjtrumpet2323 (→MediaWiki Implementation Tests)
My sandbox
MediaWiki Implementation Tests
Code | Output |
---|---|
{{#vardefine: date|2008-07-01}} | |
{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} | 11344.64 |
Non-30W Code | Non-30W Output |
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} }} | 14d6b91b54f0a6c5c9a82d7f14358e47 |
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} |1}} | 14d6b91b54f0a6c |
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}}}}|{{#time: m|{{#var:date}}}}|{{#time: d|{{#var:date}}}}}} |2}} | c9a82d7f14358e4 |
30W Code | 30W Output |
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} }} | 44027044ca10c242c510f9b9c8658fbc |
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |1}} | 44027044ca10c24 |
{{#md5:{{#time: Y-m-d|{{#var:date}}}}-{{#dow:{{#time: Y|{{#var:date}} -1 day}}|{{#time: m|{{#var:date}} -1 day}}|{{#time: d|{{#var:date}} -1 day}}}} |2}} | c510f9b9c8658fb |