Date: 11/05/00
- Next message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7191 Updated: php_admin_* does not work in VirtualHost"
- Previous message: Ajay Bahurupi: "[PHP-DEV] PHP+Oracle Problem"
- Next in thread: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7627 Updated: pb with getdate()"
- Maybe reply: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7627 Updated: pb with getdate()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
ID: 7627
Updated by: stas
Reported By: webmaster <email protected>
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 <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>
- Next message: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7191 Updated: php_admin_* does not work in VirtualHost"
- Previous message: Ajay Bahurupi: "[PHP-DEV] PHP+Oracle Problem"
- Next in thread: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7627 Updated: pb with getdate()"
- Maybe reply: stas <email protected>: "[PHP-DEV] PHP 4.0 Bug #7627 Updated: pb with getdate()"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

