Return to Snippet

Revision: 4972
at January 31, 2008 17:13 by meme


Initial Code
$row['F_UPDATED'] = date("M d, Y",strtotime($row['F_UPDATED']));

Initial URL

                                

Initial Description
The code below will format 2008-01-30 10:58:32 to Jan 30, 2008 

See the page http://us2.php.net/date for a complete list of formatting codes.

Initial Title
Convert MySQL Date To Something Else in PHP

Initial Tags
date, format

Initial Language
PHP