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

From: Date: Mon, 06 Nov 2000 16:00:29 +0000
Subject: Re: PHP 4.0 Bug #7627 Updated: pb with getdate()
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-37282@lists.php.net to get a copy of this message
I've found the pb, it's due to the winter hour change. ----- Original Message ----- From: "Bug Database" <php-dev@lists.php.net> To: <webmaster@e-bnet.com> Sent: Sunday, November 05, 2000 5:14 PM Subject: PHP 4.0 Bug #7627 Updated: pb with getdate() > 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 (#37282) next »