|

楼主 |
发表于 2003-11-5 10:36:22
|
显示全部楼层
As with all Unix and Unix-like operating systems, time and dates in FreeBSD are represented internally as the number of seconds since the 1st of January 1970 (the Unix "epoch"). Currently, that figure is stored as a 32 bit integer, and will run out part way through 2038. By then we should (hopefully) be using a counter of 64 bits (or greater) which should be good until the end of the universe.
Note that the OS being Y2K compliant will not fix errant applications that are not Y2K compliant.
Note also that the OS expects to read the current date and time from the CMOS clock of your computer. Not all of these devices correctly handle the year 2000. You are advised to test each platform individually to ensure that your hardware clock behaves correctly when going from 1999 to 2000, and that it correctly interprets the year 2000 as a leap year.
从这段话上看,FreeBSD在2038年后会解决这个问题,用64位表示年份,两个现在则不会考虑。 |
|