Date: 01/15/01
- Next message: Stig Venaas: "Re: [PHP-DEV] Legal solution: RE: [PHP-DEV] Non-GPL readline"
- Previous message: Stig Venaas: "Re: [PHP-DEV] PHP 4.0 Bug #8714: Adding LDAP entries drops credentials if update is referred"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
From: ageorgou <email protected>
Operating system: RedHat Linux 7.0
PHP version: 4.0.3pl1
PHP Bug Type: Date/time related
Bug description: Error in date("j", <time>) or getdate(<time>) function
<?
echo "date function gives wrong day for dates between 28 and 31 of October on any year\n";
$daySeconds = 86400;
$time = 1004216400;
echo "Day in 28 of October is " . date("j", $time) . "<BR>\n";
$time += $daySeconds;
echo "Day in 29 of October is " . date("j", $time) . "<BR>\n";
$time += $daySeconds;
echo "Day in 30 of October is " . date("j", $time) . "<BR>\n";
$time += $daySeconds;
echo "Day in 31 of October is " . date("j", $time) . "<BR>\n";
?>
Configure Line is
./configure' '--prefix=/usr' '--with-config-file-path=/etc' '--disable-debug' '--enable-pic' '--enable-shared' '--enable-inline-optimization' '--with-apxs=/usr/sbin/apxs' '--with-exec-dir=/usr/bin' '--with-regex=system' '--with-gettext' '--with-gd=shared' '--with-jpeg-dir=/usr' '--with-png' '--with-zlib' '--with-db2' '--with-db3' '--with-gdbm' '--enable-debugger' '--enable-magic-quotes' '--enable-safe-mode' '--enable-sysvsem' '--enable-sysvshm' '--enable-track-vars' '--enable-yp' '--enable-ftp' '--without-mysql' '--without-oracle' '--without-oci8' '--with-openssl' '--with-xml'
-- Edit Bug report at: http://bugs.php.net/?id=8716&edit=1-- 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: Stig Venaas: "Re: [PHP-DEV] Legal solution: RE: [PHP-DEV] Non-GPL readline"
- Previous message: Stig Venaas: "Re: [PHP-DEV] PHP 4.0 Bug #8714: Adding LDAP entries drops credentials if update is referred"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

