Calculating shooting time.