stfc_boy
08-08-2008, 11:04 AM
Hi All,
I have a date in my database in this format 2008-08-01 12:00:00
So when I want to print the date to my actual site I use this query:
SELECT *, DATE_FORMAT(published, '%W, %D %M, %Y') AS formatted_date
Which outputs: Friday, 1st August, 2008
But how would I output the date in this format: Fri 8th Aug (No Year)
Thanks
Chris
I have a date in my database in this format 2008-08-01 12:00:00
So when I want to print the date to my actual site I use this query:
SELECT *, DATE_FORMAT(published, '%W, %D %M, %Y') AS formatted_date
Which outputs: Friday, 1st August, 2008
But how would I output the date in this format: Fri 8th Aug (No Year)
Thanks
Chris