The international date line (IDL) is an imaginary line that runs along the Earth’s surface from the North Pole to the South Pole in the middle of the Pacific Ocean. When you cross it, you either gain or lose a day depending on which way you are traveling. If you are traveling westward, you gain a day, and if you are traveling eastward, you lose a day.