We prove the global existence in time of solutions to time-dependent shear flows for certain viscoelastic fluids. The essential point in the proof is an a priori estimate for the shear stress. Positive definiteness constraints for the stress play a crucial role in obtaining such estimates.