From ODE to DDE