GPS used ten bits for datetime. With a week counter and seconds into that week since 6th of January, 1980. After 1024 weeks it resets back to 0. This has happened once already on 21st of August, 1999. This is the second rollover/reset of the week counter on 6th of April, 2019.
Newer versions of GPS messages use thirteen digits instead of ten digits allowing for a larger week counter (granting 8,192 weeks), causing the first rollover not to occur until the year 2137.
https://en.wikipedia.org/wiki/Global_Positioning_System#Time...
Actually, probably every 512 weeks, as it needs to know (or assume) with side of the +/- it is on:
* https://en.wikipedia.org/wiki/Serial_number_arithmetic
Roll over so often that firmware/software implementations pretty much have to take it into account.
Nit: GPS uses 29 bits for "datetime".
10 bits for the week since the epoch, and 19 bits to count the number of 1.5s intervals that have passed since the start of the week. Yes, 1.5s intervals.
See Section 2.3.5:
* https://www.gps.gov/technical/ps/1995-SPS-signal-specificati...