Manual talk:$wgLocalTZoffset

Bug in the Example
Original version, $wgLocaltimezone = 'CET'; $wgLocalTZoffset = +60; Fixed version, $wgLocaltimezone = 'CET'; $wgLocalTZoffset = date("Z")/60 + 60; It should rather be something like this? --Ans 08:56, 17 December 2007 (UTC)

Hours - Minutes / DST script
After an update you should be carefull:

I don't know the exact versions, but after a bigger update I had to correct the offset into minutes. Before that, offset was in hours, e.g. $wgLocalTZoffset = +2; became $wgLocalTZoffset = +120;

Now my little, handy automatic daylight savingtime-script in LocalSettings.php looks like this (Timezone is Berlin/Europe):

if ((date("I")) == "1") { $wgLocalTZoffset = +120; } else { $wgLocalTZoffset = +60; }