This is my PHP/MySQL query, as mentioned at Displaying links in PHP/MySQL?:
http://pastebin.com/5Td9Bybn
I\'ll admit, I\'ve forgotten how to use the strtotime()
You can do it directly in MySQL, which saves you the overhead of strtotime()'s parseing overhead, and guaranteed to produce the right results, as strtotime can guess wrong occasionally.
SELECT DATE_FORMAT(yourdatefield, '%h:%i') ...