Deterministic and Stochastic Time-Delay Systems by