Well if the initial volume Vo is Vd, and you want to find the time ts when V=500, then you have the equation:
500 = Vd * e^(k*ts)
So divide both sides by Vd to get:
500/Vd = e^(k*ts)
Take the natural log of both sides:
ln(500/Vd) = k*ts
Divide out the k:
1/k * ln(500/Vd) = ts
which is what you want.