Re: clockspeed and date
Jan Pisacka <[email protected]> Wed, 12 Mar 2003 07:21:13 +0100
| Newsgroups | gmane.comp.lib.libtai |
|---|---|
| Message-ID | <[email protected]> |
Shantanu wrote: > Now if I run > # ./sntpclock 137.92.140.80 | ./clockadd > > the date command shows date as 23:41:12.My local > date is 10:16:09 and it is needed by many cron > jobs. > > what is the solution to this?i want to have date > in localtime (IST) On Linux, cp /usr/share/zoneinfo/right/yourzonefile /etc/localtime > but still my mails should > carry UTC date.what is the solution in this case? If you use qmail, it always writes "Received:" fields in UTC whatever timezone you use. (Please, note that the qmail timestamps will be 22 seconds ahead if you use TAI due to a bug in qmail). To force your MUA to generate "Date: in a specific timezone, try setting TZ environment variable before invoking the MUA. Enjoy. Jan Pisacka