I need to recall a date data in a MySQL database.
The column is set as "date timestamp(8)".
A sample of date is "20020409"

I use the PHP Date function to format it back to say "9th April 2002".
$date_formated = date($date, 'S M Y' );
However, it's still doesn't appear as formatted.

Anyone mind sharing their code to do this?


Reply via email to