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!

--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to