$timezone

From Scriptwiki
Revision as of 22:09, 26 November 2005 by Doomie (talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

This returns your current timezone setting in seconds.

$timezone


Note that it returns a negative number.

Example

echo -a $timezone

This would e.g. echo -3600 if you live in Germany / Netherlands / etc.