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

From: Date: Sun, 29 Apr 2001 15:25:40 +0000
Subject: Bug #10368 Updated: add 0 (zero) in function "date"
Groups: php.dev 
Request: Send a blank email to php-dev+get-52919@lists.php.net to get a copy of this message
ID: 10368 Updated by: derick Reported By: roger@wzero.com.br Old-Status: Open Status: Closed Bug Type: Date/time related PHP Version: 4.0.4pl1 Assigned To: Comments: Previous Comments: --------------------------------------------------------------------------- [2001-04-17 18:09:23] roger@wzero.com.br $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 --------------------------------------------------------------------------- ATTENTION! Do NOT reply to this email! To reply, use the web interface found at http://bugs.php.net/?id=10368&edit=2

« previous php.dev (#52919) next »