Re: mysql date question
| From: | Stut | Date: | Thu, 03 Jan 2008 14:34:23 +0000 |
| Subject: | Re: mysql date question | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-266554@lists.php.net to get a copy of this message | ||
Adam Williams wrote:
select date_format('contract.length_start', '%m-%d-%Y') as length_start from contract where user_id = 1;This has nothing to do with PHP, but the first parameter to date_format should not be in quotes. -Stut -- http://stut.net/