A handy timezone converter for all Linux users
Linux has a in built timezone converter and I have been using various web services ever since.
Timezone is controlled by the TZ environment variable and you can set it to the desired timezone before executing a command, which will make the command think that you are in that particular timezone.
Here’s how to use it:
$ date Fri Mar 1 22:55:56 IST 2013 $ TZ=UTC date Fri Mar 1 17:26:02 UTC 2013 $ TZ=PST date Fri Mar 1 17:26:08 PST 2013 $ TZ=CET date Fri Mar 1 18:26:11 CET 2013
Accidental discovery at it’s best 😀