For a universe with a constant expansion rate, i.e. the Hubble constant $H_0$ is a constant, the Hubble law is $$v=H_0d$$ where $v$ is relative velocity between two galaxies and $d$ is the separation between them.
I read that the age of the universe is given by $$\frac{d}{v}={1\over H_0}$$ which is the Hubble time $t_H$.
This calculation implies that at all times, the relative velocity between two galaxies is constant. But Hubble's law say that galaxies that are nearer to each other have a smaller relative velocity. So an earlier instant of time, when the two galaxies are nearer to each other, the relative velocity should be smaller.
How then can we use a constant relative velocity between two galaxies to calculate the age of the universe?