Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 17 Jul 2002 23:00:35 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        "Andrei Cojocaru" <spinlock_lists@empirequest.com>
Cc:        "Darren Pilgrim" <dmp@pantherdragon.org>, "Cy Schubert - CITS Open Systems Group" <Cy.Schubert@uumail.gov.bc.ca>, freebsd-hackers@FreeBSD.ORG
Subject:   Re: Counting the clock cycles 
Message-ID:  <96984.1026939635@critter.freebsd.dk>
In-Reply-To: Your message of "Wed, 17 Jul 2002 14:35:26 MDT." <005f01c22dd1$7be7d180$0300a8c0@fivehundred> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <005f01c22dd1$7be7d180$0300a8c0@fivehundred>, "Andrei Cojocaru" writ
es:
>I am already synchronizing using xntp, that's not the problem. The
>problem is by some weird way the clock got out of sync by about 1hr
>during daylight switch on one of the computers I run, and I need a
>reliable way to get passage of time (I don't need date/time, just
>the passage of it) for different internal operations in the program.

Use UTC time, it has no daylight savings problems.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?96984.1026939635>