ID: 26935 Updated by: [EMAIL PROTECTED] Reported By: matthias dot schuetze at bifab dot de -Status: Open +Status: Bogus Bug Type: Date/time related Operating System: Linux 2.4.24 PHP Version: 4.3.4 New Comment:
Thank you for taking the time to write to us, but this is not a bug. Please double-check the documentation available at http://www.php.net/manual/ and the instructions on how to report a bug at http://bugs.php.net/how-to-report.php In 4.3.0: "- Brought strtotime() "next" keyword handling in line with documentation and its glibc cousin. (Rasmus)" Previous Comments: ------------------------------------------------------------------------ [2004-01-16 09:07:28] matthias dot schuetze at bifab dot de Description: ------------ Hi, we switched from PHP 4.2.3 to PHP 4.3.4. The code date("Y-m-d",strtotime("next wednesday")) that yields the correct date as with 4.2.3 now gives the date one week further. Example: today is 2004-01-16; next Wednesday is 2004-01-21, however the above given code results in 2004-01-28. Good luck. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=26935&edit=1