PHP 4.0 Bug #7627 Updated: pb with getdate()

From: Date: Mon, 06 Nov 2000 16:45:49 +0000
Subject: PHP 4.0 Bug #7627 Updated: pb with getdate()
Groups: php.dev 
Request: Send a blank email to php-dev+get-37284@lists.php.net to get a copy of this message
ID: 7627 Updated by: stas Reported By: webmaster@e-bnet.com Status: Closed Bug Type: Date/time related Assigned To: Comments: User feedback: I've found the pb, it's due to the winter hour change. Thus closing. Previous Comments: --------------------------------------------------------------------------- [2000-11-05 11:14:59] stas@php.net Works for me (returns Monday). Maybe something wrong with your time or timezone? --------------------------------------------------------------------------- [2000-11-03 12:55:02] webmaster@e-bnet.com when trying to get the week day for october 30 2000, the function return a Sunday instead of a monday <? $Tday = mktime(0,0,0,10,30,2000); $Jour = getdate($TDay); echo $Jour["wday"]; ?> result : 6 --------------------------------------------------------------------------- Full Bug description available at: http://bugs.php.net/?id=7627

« previous php.dev (#37284) next »