How to format ODBC dates
| From: | Ernesto | Date: | Wed, 12 Dec 2001 20:21:31 +0000 |
| Subject: | How to format ODBC dates | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-77481@lists.php.net to get a copy of this message | ||
Hi,
Obviously this is somewhere in the FM, which I've (almost) read, but I can't find an answer to:
How do I convert a string containing an ODBC date (YYYY-MM-DD HH:MM:SS) to a date variable, which I can format usging date()?
Thanks in advance,
Ernesto