Hi,

Friday, January 3, 2003, 10:33:39 AM, you wrote:

MJP> Just to add to that... what it is doing is reading it as a 0.

0,0,0,09,30,1998 =>> 883458000
MJP> Tue, 30 Dec 1997 00:00:00 -0500

0,0,0,0,30,1998 =>> 883458000
MJP> Tue, 30 Dec 1997 00:00:00 -0500


MJP> Did you see this in the manual?

MJP> "The last day of any given month can be expressed as the 0 day of the next month, 
not the -1 day. "

MJP> I wonder if 0 has some significance in the month also?




MJP> Ok back to work....  :-)









MJP> *********** REPLY SEPARATOR  ***********

MJP> On 02/01/2003 at 7:17 PM Michael J. Pawlowsky wrote:

>>Well you are right.. I also get the same results...
>>I guess you found a bug...   did you look in the bug reports to see if it
>>already exists?
>>
>>
>>

with a 0 at the start php will treat it as an octal base number and 08 and 09 are not 
legal
octal values. You have to use intval() on them.

-- 
regards,
Tom


-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to