Re: date problem
| From: | Jason Wong | Date: | Sun, 28 Apr 2002 17:33:35 +0000 |
| Subject: | Re: date problem | ||
| References: | 1 2 3 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-94999@lists.php.net to get a copy of this message | ||
On Sunday 28 April 2002 21:10, Nick Wilson wrote:
> * and then Richard Emery declared....
>
> > Third, let Mysql do the conversion for you. For instance if you
> > timestamp field is named "mydate":
> > SELECT DATE_FORMAT(mydate,"%e %b %Y") AS thedate FROM mytable
>
> Nice one, cheers Richard.
> I didn't know about that mysql function...
Can we say, RTFM :)
--
Jason Wong -> Gremlins Associates -> www.gremlins.com.hk
Open Source Software Systems Integrators
* Web Design & Hosting * Internet & Intranet Applications Development *
/*
Everything is possible. Pass the word.
-- Rita Mae Brown, "Six of One"
*/