Re[2]: [PHP] PHP modifying data from DB?

From: Date: Fri, 23 Apr 2004 18:42:18 +0000
Subject: Re[2]: [PHP] PHP modifying data from DB?
References: 1 2 3  Groups: php.general 
Request: Send a blank email to php-general+get-184453@lists.php.net to get a copy of this message
Hello Gabe, Friday, April 23, 2004, 7:33:53 PM, you wrote: G> Let's say that getting those zero's is ok. Is this the code that I G> would write to form the proper date I want? G> $dbDate = value from the date field in the database G> date("m-d-Y", $dbDate); Yeah that should be fine - you could do: date("m-d-Y 00:00:00", $dbDate); But I'm sure Access will add on the extra zeros if you do not specify them - would be worth testing to make sure though. -- Best regards, Richard Davey http://www.phpcommunity.org/wiki/296.html

« previous php.general (#184453) next »