converts unix timestamps to relative times