[PHP-DEV] PHP 4.0 Bug #7627 Updated: pb with getdate() From: stas <email protected>
Date: 11/06/00

ID: 7627
Updated by: stas
Reported By: webmaster <email protected>
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 <email protected>
Works for me (returns Monday). Maybe something wrong with your time or timezone?

---------------------------------------------------------------------------

[2000-11-03 12:55:02] webmaster <email protected>
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

-- 
PHP Development Mailing List <http://www.php.net/>
To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
For additional commands, e-mail: php-dev-help <email protected>
To contact the list administrators, e-mail: php-list-admin <email protected>