bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: date,,,


From: Bob Proulx
Subject: Re: date,,,
Date: Thu, 24 Apr 2008 10:46:19 -0600
User-agent: Mutt/1.5.13 (2006-08-11)

Gnthoralf wrote:
> I have the following bug in date,
> if I type date +%s the unixtimestamp is correct, but if I type "date" then I
> have 23 sec difference. I use suse 9 distro, with ntpd.

How are you determining that the +%s time is correct?  (I would use
date for this, rather circularly.)

  date -d @1209055313

It seems to me that if 'date +%s' is correct then 'date' should also
be correct.

If you are running ntp then using 'ntpq -p' will print useful
information about the state of ntpd on your system.

  ntpq -p

Perhaps a firewall is blocking your ntp packets and preventing things
from being able to sync the time with other systems?

Bob




reply via email to

[Prev in Thread] Current Thread [Next in Thread]