Can I get UTC offset from Unix command line?

I'm writing an autoconf script that needs the current UTC offset. There's no obvious way to get this out of the date program. Is there any straightforward way to get this from a command-line utility, or should I write a test that gets the information and somehow captures it?

18
задан vy32 2 May 2011 в 16:33
поделиться