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

From: Date: Sun, 05 Nov 2000 16:14:59 +0000
Subject: PHP 4.0 Bug #7627 Updated: pb with getdate()
Groups: php.dev 
Request: Send a blank email to php-dev+get-37185@lists.php.net to get a copy of this message
ID: 7627 Updated by: stas Reported By: webmaster@e-bnet.com Status: Feedback Bug Type: Date/time related Assigned To: Comments: Works for me (returns Monday). Maybe something wrong with your time or timezone? Previous Comments: --------------------------------------------------------------------------- [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 (#37185) next »