Re: Ntpdate and sntpclock differ by 20+ seconds

[email protected] (Paul Jarc) Thu, 30 Jan 2003 16:45:50 -0500
Newsgroups gmane.comp.lib.libtai
Organization What did you have in mind? A short, blunt, human pyramid?
Message-ID <[email protected]>
Ethan Erchinger <[email protected]> wrote:
> I'm having problems with sntpclock.  It seems that it's showing drastically
> different times than the ntp tool ntpdate.

sntpclock assumes the local clock is TAI - that it counts all seconds,
including leap seconds.  ntpdate assumes the local clock is POSIX-
that it count only non-leap seconds.  ntpdate is telling you that if
you intend your clock to be a POSIX clock, it's well-synchronized.
sntpclock is telling you that if you intend your clock to be a TAI
clock, it's 22 seconds behind.


paul