GPS week number rollover
{{Short description|Event occurring every 1024 weeks}}
{{Use mdy dates|date=October 2020}}
{{infobox event
|title=
|image=Jizdenkovy terminal praha gps rollover.jpg
|image_size=
|image_upright=
|image_alt=
|caption=Ticket terminal in Prague, showing August 23 as the date (instead of April 8) after the 2019 GPS week number rollover
|date=Every 1,024 weeks (NAV), starting 1999 August 21
Every 8,192 weeks (CNAV), starting 2137 January 5
}}
The GPS week number rollover is a phenomenon that happens every 1,024 weeks, which is about 19.6 years. The Global Positioning System (GPS) broadcasts a date, including a week number counter that is stored in only ten binary digits, whose range is therefore 0–1,023. After 1,023, an integer overflow causes the internal value to roll over, changing to zero again. Software that is not coded to anticipate the rollover to zero may stop working or could be moved back in time by a multiple of approximately 20 years. GPS is not only used for positioning, but also for accurate time. Time is used to accurately synchronize payment operations, broadcasters, and mobile operators.
1999 occurrence
The first rollover took place midnight (UTC) August 21 to 22, 1999.
NavCen issued an advisory prior to the rollover stating that some devices would not tolerate the rollover.{{Cite web|title=Advisory for the August 1999 GPS Week Rollover|url=https://www.navcen.uscg.gov/?pageName=gpsweek|access-date=September 3, 2020|website=www.navcen.uscg.gov}} Because of the relatively limited use of GPS during the 1999 rollover, disruption was minor.
2019 occurrence
The second rollover occurred on the night of April 6 to 7, 2019, when GPS Week 2,047, represented as 1,023 in the counter, advanced and rolled over to 0 within the counter.{{cite web|url=https://www.energy.gov/oe/articles/april-2019-global-positioning-system-gps-week-number-rollover|title=The April 2019 Global Positioning System (GPS) Week Number Rollover|website=Energy.gov|language=en|access-date=March 14, 2019}} The United States Department of Homeland Security, the International Civil Aviation Organization, and others issued a warning about this event.
Products known to have been affected by the 2019 rollover include Honeywell's flight management and navigation software that caused delays for a KLM flight and cancellations for numerous flights in China because the technicians failed to patch the software.
{{cite web
|first=Sean
|last=Gallagher
|url=https://arstechnica.com/information-technology/2019/04/gps-rollover-apparently-cause-of-multiple-flight-delays-groundings
|title=Somebody forgot to upgrade: Flights delayed, cancelled by GPS rollover
|publisher=Ars Technica
|date=April 9, 2019
}}
Furthermore, the New York City Wireless Network (NYCWiN), a private network for New York City's municipal services,{{cite web |url=https://www.cvp.nyc/nyc-wireless-network |website=NYC Connected Vehicle Project |title=NYC Wireless Network |access-date=2021-09-11 |archive-date=July 12, 2021 |archive-url=https://web.archive.org/web/20210712223415/https://www.cvp.nyc/nyc-wireless-network |url-status=dead }} crashed.
{{cite web
|first=Dee Ann
|last=Divis
|url=https://insidegnss.com/gps-rollover-hamstrings-new-york-city-wireless-network-and-a-handful-of-other-systems
|title=GPS Rollover Hamstrings New York City Wireless Network and a Handful of Other Systems
|publisher=InsideGNSS
|date=October 17, 2019
}}
Other products that were affected by the rollover include cellphones that were sold in 2013 or earlier,
{{cite web
|first=Shruti
|last=Shekar
|url=https://mobilesyrup.com/2019/04/05/telus-contacting-customers-in-advance-of-gps-rollover-that-may-affect-some-customers
|title=Telus contacting customers in advance about GPS rollover that may affect some customers
|publisher=Mobile Syrup
|date=April 9, 2019
}}
certain types of older Vaisala radiosonde groundstations, suspending launches at some stations for up to two weeks,
{{cite web
|first=Tracy
|last=Cozzens
|url=https://gpsworld.com/gps-week-rollover-grounds-aussie-weather-balloons
|title=GPS Week Rollover grounds Aussie weather balloons, Boeing planes
|publisher=GPS World
|date=April 9, 2019
}}
NOAA's weather buoys,
{{cite web
|url=https://www.nws.noaa.gov/om/marine/GPSRolloverEffects.pdf
|title=Effects of GPS Rollover on Weather Buoys and C-MAN Stations
|publisher=NOAA
}}
{{cite journal
|first=Declan
|last=Butler
|url=https://www.nature.com/articles/d41586-019-01048-2
|title=GPS glitch threatens thousands of scientific instruments
|journal=Nature
|date=April 3, 2019
|doi=10.1038/d41586-019-01048-2
|pmid=32238891
|s2cid=132616195
|url-access=subscription
}}
and consumer GPS navigation devices.
{{cite web
|url=https://www.theverge.com/2019/3/8/18255847/gps-week-rollover-issue-2019-garmin-tomtom-devices-affected
|title=Older GPS devices are facing their own mini Y2K bug next month
|last=Vincent
|first=James
|date=March 8, 2019
|website=The Verge
|access-date=August 17, 2019
}}
Prior to return to normal standard time from daylight saving time during the morning of November 3, 2019, Apple issued a warning to owners of iPhone and iPad devices sold before 2012 to update or risk losing Internet connectivity.
{{cite news
|url=https://whotv.com/2019/10/31/apple-warns-some-iphone-users-update-your-phone-or-lose-internet
|title=Apple Warns Some iPhone Users: Update your phone or lose internet
|work=WHO-TV
|via=CNN
|location=Des Moines, Iowa
|date=October 31, 2019
|access-date=October 31, 2019
}}
Some Furuno GPS models had an internal rollover on January 2, 2022. If the equipment was not updated with the latest software version, the equipment's date would no longer be displayed correctly.{{Cite web |date=2022-01-05 |title=Furuno GPS {{sic|recie|vers|nolink=y}} affected by GPS rollover 02.01.2022 |url=https://www.furuno.no/en/aktuelt/furuno-gps-recievers-affected-by-gps-rollover-02-01-2022/ |access-date=2022-03-31 |website=Furuno Norge AS |language=en-GB}}
Honda and Acura cars manufactured between 2004 and 2012 containing GPS navigation systems incorrectly displayed the year 2022 as 2002, with a time offset by several minutes. This problem was due to an overflow on the GPS epoch.{{Cite web|title=Honda Clocks Are Stuck 20 Years In The Past And There Isn't A Fix|url=https://jalopnik.com/honda-clocks-are-stuck-20-years-in-the-past-and-this-mi-1848306970|access-date=2022-01-08|website=Jalopnik|date=January 6, 2022 |language=en-us}}{{Cite web|title=Shoddy coding has some Honda cars stuck in the year 2002|url=https://www.engadget.com/honda-2002-gps-bug-190248626.html|access-date=2022-01-08|website=Engadget|date=January 7, 2022 |language=en-US}}
All Porsche models with PCM2.1 are also affected according to bulletin #1904 released by Porsche on December 20, 2019.
Users of the GoPro Karma camera drone reported that their drones were grounded in early January 2020 due to a GPS-related glitch. GoPro subsequently revealed that the glitch was caused by the GPS week number rollover phenomenon and that they were working on a firmware update to fix the issue.{{Cite news |date=2020-01-06 |title='GPS glitch' grounds GoPro Karma drones |url=https://www.bbc.com/news/technology-51007414 |access-date=2025-06-05 |language=en-GB}}{{Cite web |last=Mogg |first=Trevor |date=2020-01-06 |title=GoPro’s defunct Karma drone has suddenly stopped working, owners claim |url=https://www.digitaltrends.com/cool-tech/owners-of-gopros-defunct-karma-drone-say-its-suddenly-stopped-flying/ |access-date=2025-06-05 |website=Digital Trends |language=en-us}}{{Cite web |last=O'Kane |first=Sean |date=2020-01-05 |title=GoPro Karma drones grounded worldwide, thanks to possible GPS glitch |url=https://www.theverge.com/2020/1/5/21050653/gopro-karma-drone-not-flying-gps-compass-problem-glitch-grounded |access-date=2025-06-05 |website=The Verge |language=en-US}}
2038 occurrence
The third rollover will occur between November 20 and 21, 2038. This is unrelated to the Year 2038 problem, which will occur in January of that year.
2137 occurrence
The above rollovers are due to a ten-bit week number; the more recent CNAV protocol, successor to the original NAV protocol, uses thirteen-bit week numbers, which amounts to a 157-year cycle; therefore, using the same epoch of 1980, the first rollover will not be until 2137.{{Cite web|title=GPS.gov: GPS Week Number Rollover - April 2019|url=https://www.gps.gov/support/user/rollover/|access-date=September 3, 2020|website=www.gps.gov}}
See also
- Time formatting and storage bugs
- Structure of the time-encoding components of GPS signals, NAV and CNAV versions