Here are two simple functions that convert a given amount of seconds into REAL "human-readable" formats (i.e. 320 secs = '05 mins, 20 secs' OR '00:05:20')
These can help in effectively printing database records (or anything for that matter) returned in seconds only.