On the stability of nonlinear time-varying systems