Monday, June 10, 2002, 2:00:59 PM, you wrote:
> in my mysql-db I   have a  date_tbl  with this format: (20020531).
> how is possible in PHP do display date_tbl's values in a more human-readable 
> format like 05-31-2002 or 31/05/2002 ?

Look at date and strtotime...

http://www.php.net/date
http://www.php.net/strtotime

Also take a look at DATE_FORMAT in the MySQL manual...

http://www.mysql.com/doc/D/a/Date_and_time_functions.html

-- 
Stuart


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

Reply via email to