in reply to Formatting a date

Not a perl solution but I would just have MySQL format it for you take a look at DATE_FORMAT(date,format) in the MySQL documentation. I belive this should do what your looking for:
select DATE_FORMAT(timestamp, '%m %d, %H:%i') from ....