From: [EMAIL PROTECTED] Operating system: Solaris 8 PHP version: 4.1.0 PHP Bug Type: Date/time related Bug description: strtotime giving wrong result
I have just migrated from PHP 4.0.6 to PHP 4.1.0 and I have remarked that the strtotime() is now giving me false results. Look at the following code: $date_string = "Sat, 15 Dec 2001 01:24:42 +0100 (CET)"; $date_ts = strtotime($date_string); echo $date_ts; With PHP 4.0.6 I get the following output (which is correct): 1008375882 And with the new PHP 4.1.0 I get the following output: 1008019482 Which is approxmiately 4-5 days wrong. If you need more info feel free to contact me... Thanks for fixing this. Regards -- Edit bug report at: http://bugs.php.net/?id=14568&edit=1 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]