PHP modifying data from DB?

From: Date: Fri, 23 Apr 2004 18:20:14 +0000
Subject: PHP modifying data from DB?
Groups: php.general 
Request: Send a blank email to php-general+get-184448@lists.php.net to get a copy of this message
I have a field in a DB that contains a date. The format of the date is: 04/08/2004 However, when I retrieve the date from DB using PHP, it displays the following: 2004-04-08 00:00:00 Is PHP tacking on the zero's? I've tried using the date() function to reformat it back to how I want it, but haven't gotten it to work. Any ideas? Thanks!

« previous php.general (#184448) next »