$timezone: Difference between revisions

From Scriptwiki
Jump to navigation Jump to search
Doomie (talk | contribs)
No edit summary
 
(No difference)

Latest revision as of 20:09, 26 November 2005

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.