I assume for simplicity that the spring constant has a quite a high value so that the settling down of the spring under its own weight is insignificant.
Designations:
$x$-vertical displacement of the center of mass of the spring from its equilibrium position.
$l$-vertical displacement of the top of the spring from its equilibrium position.
$m$-the mass of the spring.
$k$-the spring constant.
$g$-gravitational acceleration.
First of all let's highlight the following relation: $$x=\frac{2}{3}l$$ Its derivation is elementary but too long to present here.
The next step is write down the equation of the conservation of energy:
$$m\frac{\dot{x}^2}{2}+\frac{3}{2}kx^2+mg(x_0-x)= \frac{3}{2}kx_0^2=const$$ $x_0=x(0)$ is an initial displacement of mass center of the spring from its equilibrium position. After differentiating with respect to $t$ we get the equation of the motion of the center of mass of the spring:
$$\ddot{x}+\frac{3k}{m}x-g=0$$ According to initial conditions $x(0)=x_0= \frac{2}{3}l_0$ and $\dot{x}(0)=0$ the solution of this equation:
$$x(t)=\frac{g}{\omega_0^2}+\left(x_0-\frac{g}{\omega_0^2}\right)cos(\omega_0t);\omega_0^2=\frac{3k}{m}$$ At the moment of the departure from the ground the following holds:
$$-mg=kl=\frac{3}{2}kx$$or $$x=-\frac{2g}{\omega_0^2}$$ Minus sign indicates that a vertical coordinate is above the equilibrium. Thus, the time we are looking for is:
$$t=\frac{1}{\omega_0}arccos\left(-\frac{3g}{-g+x_0\omega_0^2}\right)= \frac{1}{\omega_0}\left(\frac{\pi}{2}+arcsin\frac{3g}{x_0\omega_0^2-g}\right)$$ The formula has a meaning if
$$x_0>\frac{4g}{\omega_0^2}$$ I would point out the assumption at the top of the post! For the given data this is probably not a good assumption. But as a first approximation maybe it fits.