Using operator ordering techniques based on BCH-like relations of the su(1,1) Lie algebra and a time-splitting approach,we present an alternative method of solving the dynamics of a time-dependent quantum harmonic oscillator for any initial state. We find an iterative analytical solution given by simple recurrence relations that are very well suited for numerical calculations. We use our solution to reproduce and analyse some results from literature in order to prove the usefulness of the method and, based on these references, we discuss efficiency in squeezing, when comparing the parametric resonance modulation and the Janszky-Adam scheme.