On Mon, April 4, 2005 3:14 pm, Al said: > 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. If the BIOS thinks you don't use Daylight Savings, but the OS thinks you *DO* use Daylight Savings, but Locale thinks you don't use Daylight Savings, but... Or any variation on that theme. This is just theory of what could be going wrong, without my delving too deeply into what you typed... -- Like Music? http://l-i-e.com/artists.htm -- PHP General Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php