Open main menu
lensowiki
β
Search
Changes
← Older edit
Newer edit →
Help:Timezone
No change in size
,
21:49, 12 April 2007
no edit summary
$oldtz = getenv("TZ");
putenv("TZ=$wgLocaltimezone");
$wgLocalTZoffset = date("Z") / 3600
+
Date("I");
putenv("TZ=$oldtz");
</pre>
Anonymous user
200.238.102.170