Calculation of Time and Range