Re: Dates before 1970

From: Date: Tue, 18 Apr 2006 02:17:37 +0000
Subject: Re: Dates before 1970
References: 1 2 3 4  Groups: php.general 
Request: Send a blank email to php-general+get-234153@lists.php.net to get a copy of this message
At 6:43 PM -0500 4/17/06, Richard Lynch wrote: Call me crazy, but I think that: $time = 0xffffffff; //largest INT possible echo date('m/d/Y h:i:s a', $time); would be very revealing.
Hmmmm. Is: 12/31/1969 06:59:59 pm Yes, it is -- I remember what I was doing then. It was six months after I got out of the US Army. And, $time = -0xffffffff; //smallest INT possible echo date('m/d/Y h:i:s a', $time); Is: 12/13/1901 03:45:52 pm Close to when I was born. :-) Whereas, $time = 0; echo date('m/d/Y h:i:s a', $time); Is: 12/31/1969 07:00:00 pm But, what point is there in all this? tedd -- -------------------------------------------------------------------------------- http://sperling.com

« previous php.general (#234153) next »