$timezone

From Scriptwiki
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.