ID: 10368 Updated by: derick Reported By: [EMAIL PROTECTED] Status: Open Bug Type: Date/time related PHP Version: 4.0.4pl1 Assigned To: Comments: I could not reproduce this with PHP-4.0.5RC6. What data is in your $data array? And what does the dia2s() function do? Please reopen this report with a script that we can try to see if it's a bug, or just a problem with your PHP code. Derick Previous Comments: --------------------------------------------------------------------------- [2001-04-17 18:09:23] [EMAIL PROTECTED] $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 -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] To contact the list administrators, e-mail: [EMAIL PROTECTED]