Pages: [1]   Go Down
  Print  
Author Topic: Apple Will Fix 'January 1, 1970' Date Bug in Upcoming iOS Update  (Read 465 times)
HCK
Global Moderator
Hero Member
*****
Posts: 79425



« on: February 16, 2016, 09:00:09 am »

Apple Will Fix 'January 1, 1970' Date Bug in Upcoming iOS Update

<img src="" alt="iPhone-6-Boot-Logo" width="162" height="322" class="alignright size-medium wp-image-488373" />Apple has officially acknowledged the "1970" date bug affecting 64-bit iPhone, iPad, and iPod touch devices. The support document does not identify a current fix, but Apple said that an upcoming iOS software update will prevent the issue from occurring in the future.
Manually changing the date to May 1970 or earlier can prevent your iOS device from turning on after a restart. An upcoming software update will prevent this issue from affecting iOS devices. If you have this issue, contact Apple Support.
Manually changing an iOS device's date to January 1, 1970 results in a continuous reboot cycle, effectively bricking the device. Restoring through iTunes in DFU Mode also does not appear to work.





Apple has not provided a reason for the bug, but YouTube video maker and programmer Tom Scott speculates that setting the date close to January 1, 1970, which is 0 in Unix time, may be resulting in an integer underflow -- in this case, a date prior to January 1, 1970.





iOS then handles the underflow by returning the negative integrer to the maximum value, which Scott says results in a date that is some 20 times longer than the universe is expected to last. Scott believes iOS may have difficulties handling this large number, resulting in affected devices crashing.





<center><iframe width="853" height="480" src="https://www.youtube.com/embed/MVI87HzfskQ" frameborder="0" allowfullscreen></iframe></center>


German website Apfelpage.de shared a second YouTube video showing that opening an iPhone and resetting its battery could fix the problem, but this method could damage your smartphone and void your warranty if done incorrectly. The safer option may be to visit a Genius Bar or contact Apple Support online or by phone.





iOS is a Unix-based operating system, and Unix time starts at 00:00:00 UTC on January 1, 1970. Apple does not allow you to manually set your iOS device to a date prior to then, likely in an effort to prevent a bug like this, but changing the date to May 1970 or earlier still causes issues on 64-bit devices.
Discuss this article in our forums

<div class="feedflare">
<img src="[url]http://feeds.feedburner.com/~ff/MacRumors-Front?d=yIl2AUoC8zA" border="0"></img>[/url] <img src="[url]http://feeds.feedburner.com/~ff/MacRumors-Front?d=6W8y8wAjSf4" border="0"></img>[/url] <img src="[url]http://feeds.feedburner.com/~ff/MacRumors-Front?d=qj6IDK7rITs" border="0"></img>[/url]
</div><img src="http://feeds.feedburner.com/~r/MacRumors-Front/~4/SxLvZIx1tvE" height="1" width="1" alt=""/>

Source: Apple Will Fix 'January 1, 1970' Date Bug in Upcoming iOS Update
Logged
Pages: [1]   Go Up
  Print  
 
Jump to: