Bug #10907: date() bug...
| From: | skysign at dreamwiz dot com | Date: | Wed, 16 May 2001 18:21:16 +0000 |
| Subject: | Bug #10907: date() bug... | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-55518@lists.php.net to get a copy of this message | ||
From: skysign@dreamwiz.com
Operating system: Redhat 7.0 kernel 2.2.16
PHP version: 4.0.5
PHP Bug Type: Date/time related
Bug description: date() bug...
date() function does not work well
this code shown the date() function bug...
<?
$date = date("Y.m.t");
echo $date;
?>
Result of above code is only "2001.05.31".
it's incorrect... correct result is "2001.5.17"
linux console command "date" work correctly...
===========================================================
My php Configure Line
./configure' '--with-apache=/usr/local/src/apache_1.3.19'
'--with-sybase=/usr/local/freetds' '--enable-track-vars'
'--disable-debug' '--enable-sysvsem' '--enable-sysvshm'
'--enable-shmop'
===========================================================
--
Edit Bug report at: http://bugs.php.net/?id=10907&edit=1