Re[2]: [PHP] MySQL timestamp to desired date function

From: Date: Thu, 18 Sep 2003 05:22:03 +0000
Subject: Re[2]: [PHP] MySQL timestamp to desired date function
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-162955@lists.php.net to get a copy of this message
Hi, Thursday, September 18, 2003, 2:53:53 PM, you wrote: CA> Thanks Tom, but using only the strtotime() and later the date() CA> functions, the page throus the following error: CA> Warning: unexpected error in date() in e:\wwwroot\videoteca\index.php on CA> line 52 CA> Now my code looks like this: CA> $date1 = strtotime($row[lugar_lastinsert]); CA> $date2 = date("d \de m \de Y H:i:s", $date1); CA> Any ideas? Thanks, CA> Cesar Aracena CA> www.icaam.com.ar what database are you using? It may be better to let the db do the formatting for you. -- regards, Tom

« previous php.general (#162955) next »