From:             [EMAIL PROTECTED]
Operating system: linux
PHP version:      4.0.4pl1
PHP Bug Type:     Date/time related
Bug description:  add 0 (zero) in function "date"

$ds[1]=dia2s(date( "D", mktime(0,0,0,$data["mon"],$data["mday"] +0,$data["year"])));

Adding +0 to a date returns the next day. it should return today!

Adding +1 or -1 works fine!



Edit Bug report 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