Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

The mobile date can only be set to 2038? There is a big problem behind this.

2025-04-05 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > IT Information >

Share

Shulou(Shulou.com)11/24 Report--

When is the end of the world? There have been all kinds of bizarre answers to this ridiculous question. When you turn on the phone system settings (not the calendar), turn off the automatic setting time, and slide the number in the future direction, you will find that the time stops in 2038.

Xiaomi and Huawei can be set up to December 31, 2037, and the iPhone is only two more days.

Not only on the phone, but on the computer, when you try to adjust the time up from 2037, you will find that no matter how much you press the setting button, the date will not continue to change.

When the date is adjusted beyond 2038, it will stop on January 1, 2038.

What will happen in 2038? Why can't all kinds of devices "exceed" 2038? Search the Internet for 2038, and you can also find that someone has set up a countdown page. This includes a more precise time: 03:14:07 on January 19, 2038. And the next, your electronic device will travel back to 1901.

The famous "2038 problem" will break out at this moment.

By the time the "2038 problem" occurs, there will be still.

In 2038, the problem of time "destroying" the system occurred 03:14:07 on January 19, 2038. 03:14:08 of this day will not come, and you will be greeted at 20:45:52 on December 13, 1901.

Using a script to simulate system time, there will be a time jump (platform Debian GNU / Linux (kernel 2.4.22) / William Porquet / deepsky.com for many electronic devices, this is a devastating blow. The creation and modification of files, the operation of application software, the synchronization of network systems. As a key value, time plays an absolutely important role in the whole electronic system. So for a while Siri, Apple's voice assistant, saw the day as "the end of the world." Why this day? The key words in Siri's answer also give the answer.

Early Siri answers to apocalyptic questions (no longer available in the new version) Unix, 32-bit, these two words make the day of 2038 doomed. Unix is an operating system in which the timing is measured in seconds based on 00:00:00 on January 1, 1970. For example, by 0: 00 on January 1, 2022, you only need to use the baseline value plus 1640966400 seconds. The Android and Apple systems we use now belong to Unix-like systems and adopt the same scheme.

Electronic systems use zeros and ones to store data, that is, binary. If you only use one digit, you can only represent 0 and 1, and if you have two digits, you can use 00, 01, 10, and 11 to represent 0, 1, 2, and 3, respectively. As the number of digits increases, the number that can be represented by binary becomes larger and larger, but there is always an upper limit. If you use 32 zeros and ones to store numbers, the first bit represents a symbol, 0 represents +, and 1 represents -, then the remaining 31 bits can represent up to 2147483647. In an age when computer resources are very precious, it is enough to use 32-bit to put time.

00:00:00 on January 1, 1970 + 2147483647 seconds = 03:14:07 on January 19, 2038. The next second, the data will "not fit" and overflow will occur. At this point, the first symbol bit changes from 0 to 1, the original plus sign becomes a minus sign, and time suddenly travels back to the past.

From top to bottom are binary seconds, corresponding decimal seconds, 32-bit Unix system time, and actual time. After 2147483647, the symbol bit changes to 1 (minus sign), and the whole number suddenly flips back to 1901. Pemu / Wikicommons, which exists in the future, what kind of impact will it bring to us? Looking back, the "millennium bug" problem again and again has given us some warning.

Millennium bug 2000, millennium. In the eyes of many applications, this year will become 1900.

Also because hardware resources are valuable, early programs used the last two digits of the year to represent the date, while the first two digits defaulted to 19. This inconspicuous question of time has aroused great concern in the whole world. Government system, banking system, aviation system and other systems may be affected and invalidated. The problem has been responded to all over the world in an attempt to solve it. Our country has issued articles many times to emphasize the importance of this issue. The United States has also introduced a bill on the millennium bug problem to urge industries to share information to solve such problems.

Thanks to people's great attention to the "millennium bug", this problem can be solved before the concentrated outbreak. But after that, incidents like the "millennium bug" still emerge one after another.

In the first week of 2010, about 30 million bank cards in Germany "failed" at the same time. Cardholders are not only unable to pay by card directly, but also have problems withdrawing money from ATMs. This not only affects the lives of its own residents, but also makes Germans who are vacationing stranded in the area.

Due to differences in different coding methods, 2010 is mistakenly identified as 2016 in the German banking system. As a result, bank cards have been "expired". The same thing happens on phones that use Windows Mobile: the New year's text messages you receive on the first day of 2010 will be displayed as 2016.

Germany accelerated the repair of its banking system, but fortunately it did not cause more losses. But when you look at space, it's not that simple. In September 2013, the spacecraft Deep Impact suddenly went missing, forcing NASA to declare the mission officially over. Mike A'Hearn, chief mission scientist at Deep Impact, believes this is a "millennium bug problem". Some of the spacecraft's software failed to correctly identify dates after August 11, 2013, causing computers to keep rebooting. In the end, the scientists lost the signal of the spacecraft.

Deep Impact meets Comet Temple 1 NASA early this year, "2022 Bug" made Microsoft programmers experience the New year's overtime. On January 1, Microsoft's mail service, Exchange, was suddenly interrupted, and users of the service were unable to send email. Microsoft later issued a statement saying the problem was related to the failure of the date check and changes in the New year. To put it simply, like the 2038 problem, time is "overflowing". Fortunately, the Microsoft team worked overtime and solved the problem on the same day.

In the future, the "millennium bug-like" problem will certainly arise again. People have begun to try to provide solutions to predictable problems. For example, use a new format to store time information. At the same time, the new kernel provided by the system team is also solving the "historical problem" on the 32-bit platform. You don't have to worry too much, after all, you should have changed your phone several times by then.

However, it is normal to encounter a similar burst of Bug. Because there are always reasonable and unexpected things happening in the world.

reference

[1] Year 2038 Problem Countdown. Https://gregnk.com/2038/

[2] The Project 2038 Frequently Asked Questions (FAQ). Http://www.deepsky.com/~merovech/2038.html#What_operating_systems_and_platforms_are_affected_by_it

[3] Why does Siri say the world will end on January 2038? Https://www.quora.com/Why-does-Siri-say-the-world-will-end-on-January-2038

[4] Unix time. Https://en.wikipedia.org/wiki/Unix_time

Unix Time Stamp-Epoch Converter. Https://www.unixtimestamp.com/

[6] Unix-like. Https://www.computerhope.com/jargon/u/unix-like.htm

[7] the year 2038. Https://zh.wikipedia.org/ wiki / 2038% E5 B9% B4% E9% 97% AE% E9% A2% 98

[8] China's progress in solving the computer problem in the year 2000. Http://www.scio.gov.cn/ xwfbh / xwbfbh / wqfbh / 1999/1201 / Document / 328000/328000.htm

[9] it is said that "millennium bug". Http://www.people.com.cn/ item / hs2000 / july.html

[10] Clinton Urges Americans To Act On Y2K Problem. Https://edition.cnn.com/ALLPOLITICS/1998/07/14/clinton.y2k/

[11] Y2K-type bug hits German cash, credit cards. Https://www.eetimes.com/y2k-type-bug-hits-german-cash-credit-cards/

[12] Carry cash as well as a card, says German bank association. Https://www.computerworld.com/article/2759697/carry-cash-as-well-as-a-card--says-german-bank-association.html

[13] Windows Mobile Bug Dates Messages from 2016. Https://www.wired.com/2010/01/windows-mobile-bug-dates-messages-from-2016/

[14] NASA Declares End to Deep Impact Comet Mission. Https://www.nationalgeographic.com/science/article/130920-deep-impact-ends-comet-mission-nasa-jpl#:~:text=NASA%20officials%20declared%20the%20Deep,July%204%20of%20that%20year.

[15] Exchange Year 2022 Problem: FIP-FS Scan Engine failed to load-Can't Convert "2201010001" to long (00:00 UTC on 2022-01-01). Https://borncity.com/win/2022/01/01/exchange-fip-fs-scan-engine-failed-to-load-cant-convert-2201010001-to-long-1-1-2022/

[16] Email Stuck in Exchange On-premises Transport Queues. Https://techcommunity.microsoft.com/t5/exchange-team-blog/email-stuck-in-exchange-on-premises-transport-queues/ba-p/3049447

This article comes from the official account of Wechat: fruit Shell (ID:Guokr42), author: Owl, Editor: window knocking Rain, Scientific Review: Andrija

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

IT Information

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report