note 32369 added to function.strtotime

From: Date: Sun, 25 May 2003 23:12:42 +0000
Subject: note 32369 added to function.strtotime
Groups: php.notes 
Request: Send a blank email to php-notes+get-49000@lists.php.net to get a copy of this message
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 ---- Manual Page -- http://www.php.net/manual/en/function.strtotime.php Edit Note -- http://master.php.net/manage/user-notes.php?action=edit+32369 Delete Note -- http://master.php.net/manage/user-notes.php?action=delete+32369&report=yes Reject Note -- http://master.php.net/manage/user-notes.php?action=reject+32369&report=yes

« previous php.notes (#49000) next »