note 9808 deleted from date by ronabop

From: Date: Sat, 10 Mar 2001 22:55:59 +0000
Subject: note 9808 deleted from date by ronabop
Groups: php.notes 
Request: Send a blank email to php-notes+get-12214@lists.php.net to get a copy of this message
I had problems for display a date stored in a mysql database, I take one example from this page and adapt it for a timestamp with 8 characters. $year=substr($myrow[fecha],0,4); $month=substr($myrow[fecha],4,2); $day=substr($myrow[fecha],6,2); echo " <B>$day - $month - $year</b>"; it display 24 - 11 - 2000 for example..

« previous php.notes (#12214) next »