W3C home > Mailing lists > Public > www-style@w3.org > November 1996

Re: Sorry if you crashed (W95 FYI: Chaos in 2038!)

From: David Perrell <davidp@earthlink.net>
Date: Sun, 24 Nov 1996 19:01:33 -0800
Message-Id: <199611250308.TAA02714@switzerland.it.earthlink.net>
To: "Walter Ian Kaye" <walter@natural-innovations.com>
Cc: "Style" <www-style@w3.org>, "HTML" <www-html@w3.org>
Walter Ian Kaye wrote:
> Man, I'm glad I use a Mac -- I've yet to hear of any date problems
under MacOS.

I knew when I posted that message that it would draw a 'Mac is Good'
comment, and from whom. :)

Conclusions over the last few days:

In UNIX and MacOS, C runtime libraries use the same size datetime value
as the opsys (in MacOS an unsigned 32-bit value from 1904 - 2040).

In DOS/Win, valid dates range from 1980 to 2099, but the C compilers
use the UNIX datetime from 1970 - 2038 for library routines (why?). No
excuse for apps to crash when the opsys is set beyond a specific date
-- there are other ways to access system datetime -- but it does make
it simpler for developers to screw up.

David Perrell
Received on Sunday, 24 November 1996 22:21:46 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 27 April 2009 13:53:46 GMT