[Pmwiki-users] TimeZone difference from server location mini-hack
Tue Oct 28 01:29:15 CST 2003
A had some problem with the "Updated" timestamps since my hosting is in the
US and i'm located in Sweden.
I added these lines tom my local.php to display the corresponding time in
Sweden for my updates.
$ServerTimeZoneDiff = 9;
$Now = time()+$ServerTimeZoneDiff*3600;
I guess it's not that common that you want to display a different time from
the servers... but you never know ;)
Thanx for a GREAT product/cm-tool/lifestyle thingi
Regards Jonas Montonen
jonte (at) jonte dot nu
More information about the pmwiki-users