Re: date format display

From: Date: Mon, 10 Jun 2002 13:27:57 +0000
Subject: Re: date format display
References: 1  Groups: php.db 
Request: Send a blank email to php-db+get-19715@lists.php.net to get a copy of this message
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

« previous php.db (#19715) next »