Bug #10368: add 0 (zero) in function "date"

From: Date: Tue, 17 Apr 2001 22:09:23 +0000
Subject: Bug #10368: add 0 (zero) in function "date"
Groups: php.dev 
Request: Send a blank email to php-dev+get-51837@lists.php.net to get a copy of this message
From: roger@wzero.com.br 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! thanks, Roger -- Edit Bug report at: http://bugs.php.net/?id=10368&edit=1

« previous php.dev (#51837) next »