  We extend the DuBois-Reymond necessary optimality condition and Noether's
symmetry theorem to the time delay variational setting. Both Lagrangian and
Hamiltonian versions of Noether's theorem are proved, covering problems of the
calculus of variations and optimal control with delays.
