Time difference function for jobs added