In relation to your question,
F(Net)=mg-mv
But F(Net)=m*dv/dt
Therefore, dv/dt=g-v
It is important to realise that since mg is positive, you are treating the release point as the origin in your acceleration expression.
Therefore, from the chain rule,
dt/dv=1/(g-v)
so t= integral of...