Strtodate() bug?
| From: | Jay Paulson | Date: | Mon, 03 Apr 2006 20:59:26 +0000 |
| Subject: | Strtodate() bug? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-233147@lists.php.net to get a copy of this message | ||
Hello,
I've got some weird behavior using PHP 4.3.9. I use the function of
strtotime("last Sunday"); and it's returning the timestamp for last
Saturday. However, if I use strtotime("-1 day"); (I'm running this program
on a Monday) it returns the correct timestamp for Sunday.
Is this a bug in PHP 4.3.9?
Thanks.