Editing 376: Bug

Jump to: navigation, search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.
Latest revision Your text
Line 8: Line 8:
  
 
==Explanation==
 
==Explanation==
βˆ’
In computer systems, time is measured starting from some arbitrarily chosen point. That particular time is known as the "{{w|Unix time|epoch}}" for that system. The {{w|UNIX}} operating system internally uses an epoch of January 1, 1970, and measures the time as a number of seconds from then. Since this was intended only for things internal to the OS (File last modified times and the like), using 1-Jan-1970 was safe, as no UNIX systems existed before that date.
+
In computer systems, time is measured starting from some arbitrarily chosen point. That particular time is known as the "{{w|Unix time|epoch}}" for that system. The {{w|UNIX}} operating system internally uses an epoch of January 1, 1970, and measures the time as a number of seconds from then. Since this was intended only for things internal to the OS (File last modified times and the like), using 1-Jan-1970 was safe as no UNIX systems existed before that date.
  
 
However, since UNIX included a number of system functions to manipulate these dates, some developers mistook them for a general purpose date object, and misused them in applications requiring dates before the epoch, by using negative values.  Such usage would inevitably fail; for example, since the value isn't specified to be signed or unsigned, the date might be considered to be far in the future, instead of in the past.
 
However, since UNIX included a number of system functions to manipulate these dates, some developers mistook them for a general purpose date object, and misused them in applications requiring dates before the epoch, by using negative values.  Such usage would inevitably fail; for example, since the value isn't specified to be signed or unsigned, the date might be considered to be far in the future, instead of in the past.

Please note that all contributions to explain xkcd may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see explain xkcd:Copyrights for details). Do not submit copyrighted work without permission!

To protect the wiki against automated edit spam, we kindly ask you to solve the following CAPTCHA:

Cancel | Editing help (opens in new window)