On 25 May 01, at 0:47, Alexander Skwar wrote:
> So sprach D. R. Evans am Thu, May 24, 2001 at 03:28:29PM -0600:
> > This causes "date" to respond correctly, and the clock on the screen to
> > display the correct time, but "date -u" gives the wrong time.
>
> Define 'wrong' time. My system clock is running on UTC and I live in CEST
> zone (GMT/UTC +0200):
>
> [askwar@teich pear]$ date
> Fre Mai 25 00:47:16 CEST 2001
> [askwar@teich pear]$ date -u
> Don Mai 24 22:47:18 UTC 2001
>
> Everything's fine.
>
Fine. Now please tell me how you did it :-)
I told you what I did (following the documentation in "Linux
Installation, Configuration and Use" for Red Hat systems), and that
gives me the wrong UTC time. Here, being a perverse sort of chap, I
define "wrong" as "not right" :-)
[n7dr@localhost n7dr]$ date
Thu May 24 18:29:18 /etc/localtime 2001
[n7dr@localhost n7dr]$ date -u
Thu May 24 18:29:21 UTC 2001
Doc Evans
--------------------------------------------------------------
Phone: +1 303 494 0394
Mobile: +1 720 839 8462
Fax: +1 781 240 0527
--------------------------------------------------------------