Date subtraction added to danger algorithm.