I have saved a timestamp in the database. I would like to retrieve it and print it as 28 October 2007.
You could use the function DATE_FORMAT in mysql SELECT DATE_FORMAT(datefield, '%d %M %Y') FROM Tablename
Or, after fetching the timestamp into a variable such as $row['time']: date('d F Y', $row['time']); PHP: