We study the time evolution of a quantum system with Hamiltonian consisting of time-dependent linear combination of SU(1,1) and SU(2) generators. A proper hermitian invariant operator has been found to obtain not only closed formulas for the time evolution of quantum states but also the time evolution operators for both the SU(1, 1) and SU(2) systems. The time evolution operators have been used to investigate the time-dependent two photons and SU(2) squeezing states and squeezing properties of the time-dependent SU(1,1) coherent states.