Re: convert date format

From: Date: Tue, 29 Mar 2005 06:51:13 +0000
Subject: Re: convert date format
References: 1  Groups: php.general 
Request: Send a blank email to php-general+get-211761@lists.php.net to get a copy of this message
Angelo Zanetti wrote:
hi guys, I need to convert a date from this format: 2005-03-25 to 25 mar 2005. I have tried the mktime, strftime and the date functions but they all take a time stamp but I only have the dates in the format of 2005-03-25.
echo strtolower(date("j M Y", strtotime("2005-03-25")));

« previous php.general (#211761) next »