This paper provides necessary conditions of optimality for optimal control problems with time delays in both state and control variables. Differen