in reply to How to get TZ difference?

Windows boxes - no ideas.

On Un*x boxes, there are a number of files that can be used to store timezones (/etc/localtime, /etc/timezone, probably some others.)

If you're playing with timezone code I recommend you take a look at the new DateTime modules - DateTime::TimeZone in particular. Very useful stuff.