Question: what is the relationship between time and mass?
Answer: There isn't any relation between time and mass in speical relativity: mass is a Lorentz invariant, the same in all reference frames, time is the fourth component of the position 4-vector. Similarly, energy isn't a Lorentz invariant-it's the fourth component of the energy-momentum 4-vector.