I have a mysql query that has a column CreationDate in the format of "timestamp". Example:
2013-03-27 18:32:45
I would like for the sql query to format it in this fashion (12hr format with seconds):
Friday 3/28/2013 12:52:34 PM
I would like to handle this at the sql level rather than php or .js, etc.
Query:
SELECT a.ID, a.CreationDate, a.Content, a.Type, u.Nickname
FROM Announcements a
INNER JOIN Accounts u ON a.FromAccountID = u.AccountID
WHERE a.Status = '1' AND u.Status = '1'
ORDER BY a.ID DESC
Date_FORMAT()