note 32369 deleted from function.strtotime by sniper

From: Date: Tue, 21 Oct 2003 11:02:05 +0000
Subject: note 32369 deleted from function.strtotime by sniper
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-58999@lists.php.net to get a copy of this message
Note Submitter: Palahala ---- In PHP versions prior to 4.3.0, the handling of 'next' was wrong: when executed on Sunday, 'next Tuesday' would yield a date two days from now, whereas officially it should have been 9 days from today (see 2nd link below). This was fixed in 4.3.0, where one should use 'Tuesday' to get the date two days from this Sunday, 'next Tuesday' for 9 days in the future, or 'third Tuesday' for 16 days after today, and so on. See http://bugs.php.net/bug.php?id=21984 which also refers to http://bugs.php.net/bug.php?id=18655

« previous php.notes (#58999) next »