strtotime() bug?
| From: | Al | Date: | Mon, 04 Apr 2005 22:14:05 +0000 |
| Subject: | strtotime() bug? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-212212@lists.php.net to get a copy of this message | ||
Suddenly my strtotime() are goofy, anyone have any ideas?
echo date('Y/m/d/H', time()). "<br>"; //2005/04/04/18
echo date('Y/m/d/H', strtotime("-1 day")). "<br>"; //2005/04/03/18
echo date('Y/m/d/H', strtotime("last Sunday")). "<br>"; //2005/04/02/23
Sunday shows as Saturday.