counting days until the end of the event