ID: 10907
Updated by: rasmus
Old-Status: Open
Status: Closed
Bug Type: Date/time related
Operating system: 
PHP Version: 4.0.5
Assigned To: 

Please read the documentation more closely.  The t modifier is the number of days in 
the month so 31 is indeed correct.

Previous Comments:

[2001-05-16 14:21:16] [EMAIL PROTECTED]
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'


ATTENTION! Do NOT reply to this email!
To reply, use the web interface found at

PHP Development Mailing List <>
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
To contact the list administrators, e-mail: [EMAIL PROTECTED]

Reply via email to