date format from a database date field
| From: | Mike Ryan | Date: | Mon, 21 May 2007 17:21:55 +0000 |
| Subject: | date format from a database date field | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-255436@lists.php.net to get a copy of this message | ||
Sorry I am a bit of a newbie with php and hope this has not been aswered a
million times, but here it goes
I have a date base with a couple of date fields when I pull up and display
the fields it show 2007-05-21. the question I have is how to convert the
field to 05-21-2007?
Currently the command I have is
print $row['open'];
any help would be apreciative.
thanks