You'll probably have to replace the asterisk with the actual names of the fields:
PHP Code:
$query = 'SELECT field1, field2, field3, UNIX_TIMESTAMP(entrydate) FROM weblog2 ORDER BY entrydate DESC';
I've never actually worked with MySQL timestamps, so I don't know if that will work correctly in your case. That's just how I think it should work.