|
[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]
|
Re: [PLUG] Party to celebrate 10^9 seconds of UNIX?
|
On Tue, Aug 28, 2001 at 09:19:09PM -0400, Bill Jonas wrote:
> On Tue, Aug 28, 2001 at 08:18:10PM -0400, Walt Mankowski wrote:
> > Epoch time starts at midnight, January 1, 1970, GMT. You're starting
> > from midnight EST, which is GMT + 5 hours. Then date converts it to
> > EDT, which is an hour later than EST, and that's why it overshoots GMT
> > by an hour.
>
> BTW, has anyone accounted for leap seconds? The standard says that UNIX
> time is the number of seconds since the epoch, *not* counting leap
> seconds. I don't know if the system clocks account for leap seconds or
> not...
The system clock (and the unix epoch) doesn't account for leap seconds.
If you want to be hyperaccurate, the 1 Billionth second will occur
roughly between 9:46:20PM and 9:46:40PM (EDT). But 1 Billionth
second of the epoch is still at ...:40. :-)
Z.
______________________________________________________________________
Philadelphia Linux Users Group - http://www.phillylinux.org
Announcements-http://lists.phillylinux.org/mail/listinfo/plug-announce
General Discussion - http://lists.phillylinux.org/mail/listinfo/plug
|
|