note 8847 added to date
| From: | jasendorf at lcounty dot com | Date: | Sun, 01 Oct 2000 10:46:54 +0000 |
| Subject: | note 8847 added to date | ||
| Groups: | php.notes | ||
| Request: | Send a blank email to php-notes+get-5794@lists.php.net to get a copy of this message | ||
Here's a short line of code I am using to convert an ODBC date result (from MS Access) to
something usable
$date = date ("l, F j, Y", strtotime (odbc_result ($sql_result, "date")));
http://www.php.net/manual/function.date.php