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





--
PHP General Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php



Reply via email to