And in case yo do not know what to put in the TZ variable, look a /usr/share/zoneinfo. Alls the dirctorie/files there can be used, thus:
Code:
henk@boven:~> TZ=Asia/Calcutta date
wo jun 15 23:56:07 IST 2011
henk@boven:~>
gives you Indian Standard Time for the command (in this case date, but you can put xclock or another time showing pogram there) that is put after it on the same line.
When you wonder how that would show in English, we do the same trick with LANG:
Code:
henk@boven:~> LANG=C TZ=Asia/Calcutta date
Wed Jun 15 23:58:46 IST 2011
henk@boven:~>