International Date Line

The International Date Line (IDL), also known as just the Date Line, is an imaginary line on the surface of the Earth, going from north to south in the Pacific Ocean. The date becomes one day later as one travels across it in western direction, and one day earlier as one travels across it in eastern direction.
The reason for this effect is that the countries on the western side of the International Date Line, (in or outside eastern Asia) have the time zone 10-12 hours more than Greenwich. And the countries on eastern side of it (Alaska/Hawaii and other areas) have the time zone 9-12 hours less than Greenwich. So when travelling across the line, one's watch has to be adjusted 20-24 hours, depending on the time zones.
For example, New Zealand is twelve hours ahead of Greenwich Mean Time while Hawaii is ten hours behind Greenwich Mean Time. When travelling from New Zealand to Hawaii the clocks must be switched 22 hours backwards, about one day.
Geography
International Date Line follows the meridian of 180deg longitude down the middle of the Pacific Ocean for some distance. So that it does not cross nations, it passes around the far east of Russia and other archipelagos in the Pacific.
In the north the date line turns to the east through the Bering Strait and then west past the Aleutian Islands in order to keep Alaska and Russia on opposite sides of the line. This is to keep it in agreement with the date of the rest of those countries. The date line passes equidistantly between the two Diomede Islands--Little Diomede Island (US) and Big Diomede Island (Russia)--at a distance of 1.5 km (1 mi) from each island.
The date line circumvents the territory of Kiribati by swinging far to the east, almost reaching the 150deg meridian.
In the South Pacific the date line swings east such that Wallis and Futuna, Fiji, Tonga, and New Zealand's Kermadec Islands have the same date but Samoa is one day earlier.
The International Date Line can cause confusion among airline travelers. The most problematic situation usually occurs with short journeys from west to east. To travel from Tonga to Samoa by air, for example, takes about two hours but involves crossing the International Date Line, causing passengers to arrive the day before they left. This often causes confusion in travel schedules, like hotel bookings. Some examples of time zone adjustments for real air trips are: Alaska-Siberia 21 hours, New Zealand-Cook Islands 22 hours, and Samoa-Tonga 24 hours.
If someone travels around the globe in an airplane from east to west (the same direction as Magellan), they should subtract one hour for every 15deg of longitude crossed, losing 24 hours for one circuit of the globe; but 24 hours are added when crossing the International Date Line (from east to west). The International Date Line must therefore be observed in conjunction with Earth's time zones: the net adjustment to one's watch is zero. If one crosses the date line at precisely midnight, going westward, one skips an entire day; while going eastward, one repeats the entire day.
For two hours every day, at UTC 10:00-11:59, there are actually three different days observed at the same time. At UTC time Thursday 10:15, for example, it is Wednesday 23:15 in Samoa, which is eleven hours behind UTC, and it is Friday 00:15 in Kiritimati (separated from Samoa by the IDL), which is fourteen hours ahead of UTC. For the first hour (UTC 10:00-10:59), this phenomenon affects inhabited territories, whereas during the second hour (UTC 11:00-11:59) it only affects an uninhabited maritime time zone twelve hours behind UTC.
Problems
Originally, the date line ran along the 180deg meridian. This is a relatively good choice, because most of the time, there is no land there. There are however some problems.
Chukchi Peninsula
Looking from the north, one of the first places where the meridian runs over dry land is the Chukchi Peninsula, which is part of Russia. The whole peninsula has been declared part of the UTC+12. This means that all of Russia (and with it, all of Asia) is on the same side of the date line.
Groups of islands
There are many groups of islands in the Pacific Ocean. These groups belong to states which do not want some islands on one side of the date line, and the rest on the other. They have therefore decided to move the date line, so that all islands are in the same time zone. Examples of this are the Aleutian Islands, which are on both sides of the 180deg meridian. They are part of Alaska, and are therefore all in the UTC-10 timezone. The date line has a bump to the west, there.
There are a few Islands, east of the 180deg, which belong to New Zealand. It was decided that they should have the same date as New Zealand, so the date line runs east of the meridian there.
Kiribati is a state consisting of many small islands, spread over a huge portion of the Pacific; the meridian runs right through the state. Because the state needed the same date over all its territory, the date line was shifted east, the biggest shift to occur, in 1995. The easternmost island of Kiribati was renamed to Millennium Island, because it was the first part of the world which saw the new millennium.
The Philippines had very good trade relations with Mexico. They therefore decided they wanted the same date, date line to the west of the state. When the trade with China grew, this was inconvenient. They changed, after Monday, 30 December 1844, came Wednesday, 1 January 1845.
Difference in religions
Jews and Muslims and Christians regard particular days of the week as holy. For Muslims this is Friday, Jews (and a few Christian denominations) regard Saturday as the Sabbath, while most Christians observe Sunday as "the Lord's Day" in honour of the resurrection of Jesus on that day. This works well if the traveller stays on the same side of the date line, but there is a problem when travellers move across it. For the traveller it might still be Friday, but the place where he is might say that it is Saturday.