I’m returning a date from my database and converting it to a formatted date, but instead of showing the full month it says “Apr” instead. Is there a way I can make it show the full month and not just the abbreviation?
Code
while(($row = mysql_fetch_array($query_date)))
$date[] = date("M d",strtotime($row[0]));
And this is what my DB is returning 2012-04-25 22:07:35, the date function return this Apr 25
The format should be,
Here, you can get all formats..
http://php.about.com/od/learnphp/ss/php_functions_3.htm