{"id":45942,"date":"2023-04-15T14:08:37","date_gmt":"2023-04-15T06:08:37","guid":{"rendered":"http:\/\/gulass.cn\/?p=45942"},"modified":"2023-04-15T14:08:37","modified_gmt":"2023-04-15T06:08:37","slug":"why-computer-time","status":"publish","type":"post","link":"https:\/\/gulass.cn\/why-computer-time.html","title":{"rendered":"\u4e3a\u4ec0\u4e48\u8ba1\u7b97\u673a\u65f6\u95f4\u8981\u4ece1970\u5e741\u67081\u65e5\u5f00\u59cb\u7b97\u8d77"},"content":{"rendered":"
\u5bfc\u8bfb<\/td>\n | \u4eca\u5929\u6211\u4eec\u6765\u8ba8\u8bba\u4e00\u4e2a\u975e\u5e38\u6709\u610f\u601d\u7684\u4e8b\uff0c\u90a3\u5c31\u662f\u4f60\u77e5\u9053\u4e3a\u4ec0\u4e48\u8ba1\u7b97\u673a\u65f6\u95f4\u548c\u4f17\u591a\u7684\u7f16\u7a0b\u8bed\u8a00\u7684\u65f6\u95f4\u90fd\u8981\u4ece1970\u5e741\u67081\u65e5\u5f00\u59cb\u7b97\u8d77\u5462\uff0c\u65f6\u95f4\u8ba1\u65f6\u8d77\u70b9\u5230\u5e95\u4e3a\u4ec0\u4e48\u662f 1970\u5e741\u67081\u53f7\u5462\uff1f\u6211\u60f3\u5927\u5bb6\u5e94\u8be5\u90fd\u77e5\u9053\uff0c\u4f46\u662f\u6211\u4f30\u8ba1\u5927\u5bb6\u51e0\u4e4e\u5927\u90e8\u5206\u90fd\u6ca1\u6709\u60f3\u8fc7\u8fd9\u4e2a\u95ee\u9898\u3002\u6211\u4eec\u5c31\u4e00\u8d77\u6765\u804a\u804a\uff0c\u8fd9\u662f\u4e3a\u4ec0\u4e48\uff1f<\/strong><\/td>\n<\/tr>\n<\/tbody>\n<\/table>\n <\/p>\n 1\u3001\u6700\u61d2\u7684\u89e3\u91ca<\/strong><\/div>\n \u5f88\u591a\u7f16\u7a0b\u8bed\u8a00\u8d77\u6e90\u4e8eUNIX\u7cfb\u7edf\uff0c\u800cUNIX\u7cfb\u7edf\u8ba4\u4e3a1970\u5e741\u67081\u65e50\u70b9\u662f\u65f6\u95f4\u7eaa\u5143\uff0c\u6240\u4ee5\u6211\u4eec\u5e38\u8bf4\u7684UNIX\u65f6\u95f4\u6233\u662f\u4ee51970\u5e741\u67081\u65e50\u70b9\u4e3a\u8ba1\u65f6\u8d77\u70b9\u65f6\u95f4\u7684\u3002<\/p>\n \u8bf4\u4e86\u8fd9\u4e2a\u61d2\u4eba\u7684\u89e3\u91ca\uff0c\u4f30\u8ba1\u5927\u5bb6\u8fd8\u6ca1\u6709\u61c2\u5f97\u771f\u6b63\u7684\u610f\u601d\u3002\u6240\u4ee5\u6211\u4eec\u63a5\u4e0b\u6765\u6df1\u5165\u7684\u4e86\u89e3\u4e00\u4e0b\u3002\n<\/p>\n 2\u3001\u6df1\u5165\u4e86\u89e3<\/strong><\/div>\n \u6700\u521d\u8ba1\u7b97\u673a\u64cd\u4f5c\u7cfb\u7edf\u662f32\u4f4d\uff0c\u800c\u65f6\u95f4\u4e5f\u662f\u752832\u4f4d\u8868\u793a\u3002<\/p>\n \r\n1.System.out.println(Integer.MAX_VALUE);\r\n2.2147483647\r\n<\/pre>\n |