Re: clockspeed and date

Jan Pisacka <[email protected]> Wed, 12 Mar 2003 11:50:02 +0100
Newsgroups gmane.comp.lib.libtai
Message-ID <[email protected]>
Shantanu wrote:
>>On Linux, cp
>>/usr/share/zoneinfo/right/yourzonefile
>>/etc/localtime
> 
> 
> Did this thing.

Did you copy a real file? In your case, it should be something like:

cp /usr/share/zoneinfo/right/Asia/Calcutta /etc/localtime

After that, set again your kernel clock with sntpclock.
If you run the following commands, you should get identical values:

date ; TZ=right/Asia/Calcutta date

This should show time difference of five hours and thirty minutes:

TZ=right/UTC date ; date

Good luck.
Jan