I have a unix timestamp, how do a print this as a time ie: 5.30pm
$stringtime = date("g:i a", $unixtimestamp);
Look up date() and time() functions in the manual for the values in the formatting string. Eseentially they will format a unix timestamp in hundreds of common ways.