Added method to calculate days to event in model.