Difference between revisions of "Globalhash/Coordinates/latOnly"

From Geohashing
imported>Relet
m
imported>Relet
m
Line 1: Line 1:
{{#vardefine: date|{{#time:Y-m-d|{{{1}}}}} }}{{#vardefine: steps|{{#expr: ({{#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|1}} round 9) * 180 - 90}}}}{{#var:steps}}
+
{{#vardefine: date|{{#time:Y-m-d|{{{1}}}}} }}{{#vardefine: steps|{{#expr: ({{#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|1}}) * 180 - 90}}}}{{#var:steps}}

Revision as of 12:21, 8 September 2008

23.581969683842