epochs (was Re: Broadcasting Atomic Clocks)

From: Ethan Dicks <ethan_dicks_at_yahoo.com>
Date: Thu Jul 26 20:21:41 2001

--- "Charles E. Fox" <foxvideo_at_wincom.net> wrote:
> > Suggest you check out http://www.thinkman.com/dimension4, It
> > will set the time of your computer to any of a number of accurate
> > sources, US Navel Observatory, etc.

I did. Thanks. One interesting thing is they reprint part of
RFC 868, "Time Protocol". It seems to specifiy unsigned 32-bit
time in seconds since 1-Jan-1900, 00:00 UTC as the basis for
timekeeping. What's interesting are the conversion constants they
provide in the RFC:

  The server listens for a datagram on port 37. When a datagram arrives, the
  server returns a datagram containing the 32-bit time value. If the server is
  unable to determine the time at its site, it should discard the arriving
  datagram and make no reply.

  The Time

  The time is the number of seconds since 00:00 (midnight) 1 January 1900 GMT,
  such that the time 1 is 12:00:01 am on 1 January 1900 GMT; this base will
  serve until the year 2036.

  For example:

  the time 2,208,988,800 corresponds to 00:00 1 Jan 1970 GMT,
  2,398,291,200 corresponds to 00:00 1 Jan 1976 GMT,
  2,524,521,600 corresponds to 00:00 1 Jan 1980 GMT,
  2,629,584,000 corresponds to 00:00 1 May 1983 GMT,
  and -1,297,728,000 corresponds to 00:00 17 Nov 1858 GMT.

OK... the first one is conversion to the UNIX epoch, the third is MS-DOS,
the fifth, VMS. What are numbers 2 and 4? Mac uses 1904 (I think to avoid
strange leap-year calculations - there are no dropped leap-years between
1904 and 2096, the years around then that skip are 1900 and 2100).

Any ideas on those other two?

-ethan



=====
Visit "The Seventh Continent"
http://penguincentral.com/penguincentral.html

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
Received on Thu Jul 26 2001 - 20:21:41 BST

This archive was generated by hypermail 2.3.0 : Fri Oct 10 2014 - 23:33:54 BST