Strtodate() bug?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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.

-- 
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php


[Index of Archives]     [PHP Home]     [Apache Users]     [PHP on Windows]     [Kernel Newbies]     [PHP Install]     [PHP Classes]     [Pear]     [Postgresql]     [Postgresql PHP]     [PHP on Windows]     [PHP Database Programming]     [PHP SOAP]

  Powered by Linux