A nonautonomous nonlinear functional differential equation arising in the theory of population dynamics