[Prev][Next][Index][Thread]

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



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