First of all, the timestamp; my guess is that if you're storing this in a MySQL date/time type field, you'll be wanting to use MySQL's date formatting functions. If it's a MySQL-style timestamp, the same applies. If it's a Unix-style timestamp, then really, [man]date[/man] will do exactly what you want.
As for the repeated AIM_body; well, I don't know what you're using it for or where it's supposed to be or anything like that, but if you don't want it repeated at all, then you shouldn't put the code to display it inside the loop.
PS. I hate people who go "bump" - all it tells me is that you didn't have a single idea of your own about the problem in nearly nine hours.