PHP 4.0 Bug #7627: pb with getdate()
| From: | webmaster at e-bnet dot com | Date: | Fri, 03 Nov 2000 17:55:02 +0000 |
| Subject: | PHP 4.0 Bug #7627: pb with getdate() | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-36998@lists.php.net to get a copy of this message | ||
From: webmaster@e-bnet.com
Operating system: All
PHP version: 4.0.3pl1
PHP Bug Type: Date/time related
Bug description: pb with getdate()
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
--
Edit Bug report at: http://bugs.php.net/?id=7627&edit=1