Yes.Time period of a spring mass system is given by,T=2πkm​​  ...(1)    where m is mass of the block, and k is the spring constantTime period is also given by the relation,T=2πgx0​​​    ...(2)where, x0​  is extension of the spring, and g is acceleration due to gravityFrom the equations (1) and (2), we have:mg=kx0​⇒k=x0​mg​ Substituting the value of k in the above equation, we get:⇒k=x0​mg​Thus, we can find the time period if the value of extension x0​ is known.