In this paper, a novel tracking control strategy is proposed to address the problem of stabilization of a class of nonlinear time delay systems with time-varying full-state constraints. The effect of the nonlinear system resulting from the time delays is canceled out with the utilization of the novel iterative procedures optimized by dynamic surface control (DSC) and the appropriate time-varying asymmetric barrier Lyapunov functions (ABLFs) are employed to stem the violation of time-varying states constraints. Finally, it is proved that the proposed control method guarantees the uniformly ultimate boundedness of all the signals in the closed-loop system, meanwhile, the tracking errors converge to a small interval. The effectiveness of the presented control strategy is confirmed by a simulation example provided in this paper.