format date field
| From: | Mike Ryan | Date: | Wed, 23 May 2007 16:45:12 +0000 |
| Subject: | format date field | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-255435@lists.php.net to get a copy of this message | ||
I am reading in a date field from a mysql database the field on the screen
shows up as 2007-05-01 on the screen I would like the field to show
05-01-2007 currently I am issueing the following command print
$row['open']; how can I format this field???
while I am at it how can I accept the date field as 05-01-2007;