Year 2038 problem
来源:互联网 发布:中国基础地理数据 编辑:程序博客网 时间:2024/06/18 08:42
The year 2038 problem (also known as the Unix Millennium Bug, Y2K38, Y2.038K, or S2G by analogy to the Y2K problem) may cause some computer software to fail at some point near the year 2038. The problem affects all software and systems that both store system time as a signed 32-bit integer, and interpret this number as the number of seconds since 00:00:00 UTC on Thursday, 1 January 1970.[1] The furthest time that can be represented this way is 03:14:07 UTC on Tuesday, 19 January 2038.[2] Times beyond this moment will "wrap around" and be stored internally as a negative number, which these systems will interpret as a date in 1901 rather than 2038. This is caused by Integer overflow. The counter "runs out" of usable digits, "increments" the sign bit instead, and reports a maximally negative number (continuing to count up, towards zero). This will likely cause problems for users of these systems due to erroneous calculations.
Further, while most programs will only be affected in or very close to 2038, programs that work with future dates will begin to run into problems much sooner. For example, a program that works with dates 20 years in the future will have to be fixed no later than in 2018.
Because most 32-bit Unix-like systems store and manipulate time in this format, it is usually called Unix time, and so the year 2038 problem is often referred to as the Unix Millennium Bug. However, any other non-Unix operating systems and software that store and manipulate time this way will be just as vulnerable.
- Year 2038 problem
- Year 2038 problem
- unix时间戳及Year 2038 problem
- YEAR
- year
- Codeforces problem 750E New Year and Old Subsequence
- Problem--379A--Codeforces--A. New Year Candles
- year by year
- Good Year!
- new year~~
- Year 2008
- Fiscal Year
- new year
- new year
- LEAP YEAR!!!
- next year
- 100year
- new year
- 笔记1-fedora14初识及vmware-tool安装
- 关于irp堆栈
- ubuntu常用软件大全【转】
- 利用response进行上传下载操作
- USB接口类型大全
- Year 2038 problem
- Java 出现java.lang.SecurityException: Prohibited package name:java.my 错误解决方法
- 这些日子的思考
- 终于开始学习javal了,遇难题了
- jquery实现tagcloud,带3d效果。
- (转)vc图像处理入门之一
- 浅析C标准I/O库
- Makefile 隐式规则
- poj 1651