Converts timestamp in seconds to minutes, hours etc.