Re: TIMESTAMP -> Y-m-d
| From: | Marek Kilimajer | Date: | Thu, 05 Jun 2003 11:16:25 +0000 |
| Subject: | Re: TIMESTAMP -> Y-m-d | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-150320@lists.php.net to get a copy of this message | ||
mysql manual -> DATE_FORMAT() function. Simply do
SELECT DATE_FORMAT('format string', timestamp_column) ...
nabil wrote:
Please help me how to print a timestamp string retrived from the database, and print it as YYYY-MM-DD Nabil