Earth orbits around the sun at 18.6 miles per second. 3100 miles divided by 18.6 miles per second is 167 seconds! They calculated that in 35 years we'll miss it by less than 3 minutes! (assuming it crosses our orbit in front of or behind us, and not above or below)