title: Getting the time zone as a UTC offset on windows and linux
body: <p>What is the simplest way to get the machine's time zone as a positive or negative UTC offset, preferably using some time of shell command?</p>