Bill Jonas on Wed, 29 Aug 2001 03:30:09 +0200 |
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... -- Bill Jonas * bill@billjonas.com * http://www.billjonas.com/ "As we enjoy great advantages from the inventions of others, we should be glad of an opportunity to serve others by any invention of ours; and this we should do freely and generously." -- Benjamin Franklin ______________________________________________________________________ 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
|
|