Translations:Manual:$wgLocalTZoffset/12/en

date('Z') returns the timezone offset in seconds.