changed to:-
Code:
$query = "SELECT id, name, title, status, DATE_FORMAT(date, '%a %b %d, %Y %H:%i %p') as date FROM table2";
which formats date time to what i want but it still sorts it like this:-
Thu Dec 09, 2004 19:30 PM
Fri Dec 10, 2004 19:30 PM
Fri Dec 10, 2004 19:30 PM
Mon Dec 13, 2004 19:30 PM
Sat Dec 11, 2004 19:30 PM