Re: PHP modifying data from DB?

From: Date: Fri, 23 Apr 2004 18:22:18 +0000
Subject: Re: PHP modifying data from DB?
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-184449@lists.php.net to get a copy of this message
I should also probably mention that I'm using ADOdb as well. Gabe wrote:
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 (#184449) next »