Difference between revisions of "$timezone"

From Scriptwiki
Jump to: navigation, search
 
(No difference)

Latest revision as of 22: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.