On Thu, Jan 06, 2005, Moish wrote about "Re: Happy new year 2038 !":
> P.S. "negative" date is always the same date (at least with MDK10.1 
> libraries ):
> 1000000000, Sun Sep  9 01:46:40 2001
> 2147483647, Tue Jan 19 03:14:07 2038
> -2147483648, Fri Dec 13 20:45:52 1901
> -2147483647, Fri Dec 13 20:45:53 1901

As you can see, it's not the same date - it's simply what happens when you
take Midnight, January 1st 1970, and *subtract* 2^31 seconds (about 68 years)
from it.

I wonder why this behavior. I don't remember Unix ever allowing dates being
negative to signify dates before 1970...

-- 
Nadav Har'El                        |      Thursday, Jan 6 2005, 25 Tevet 5765
[EMAIL PROTECTED]             |-----------------------------------------
Phone +972-523-790466, ICQ 13349191 |Give Yogi a rifle. Support your right to
http://nadav.harel.org.il           |arm bears!

=================================================================
To unsubscribe, send mail to [EMAIL PROTECTED] with
the word "unsubscribe" in the message body, e.g., run the command
echo unsubscribe | mail [EMAIL PROTECTED]

Reply via email to