RE: [PHP] Easiest way to convert date?
| From: | David Freeman | Date: | Wed, 23 Oct 2002 23:21:36 +0000 |
| Subject: | RE: [PHP] Easiest way to convert date? | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-121178@lists.php.net to get a copy of this message | ||
> Yes but that doesn't always work for all of us. It doesn't
> work when you're doing a "SELECT * FROM database";
What's wrong with this:
select *, DATE_FORMAT(etc) AS SomeDate FROM database
Which does what you're doing but grabs a reformatted date too.
CYA, Dave