Y2K and Linux - page 5
In the Beginning...While not a Y2K problem, another date-handling situation involves the fact that 2000 is a leap year, and some programs get this fact wrong. (A quick check of the documentation for one of Microsoft's programming tools showed two places where leap years were calculated incorrectly in sample code.) The problem is that some programs only use the "4-year" and "100-year" rules (years divisible by 4 are leap years, unless they're divisible by 100), and not the "400-year" rule (which says that a year divisible by 400 is indeed a leap year, after all).
It appears that this problem is far less prevalent and less disruptive than the Y2K bug. Still, if you routinely do things like calculate the number of days between two dates (which could be off by one if the range includes Feb. 29, 2000), it's worth checking the software you use for these tasks to make sure it doesn't have a problem.
- 1Linux Top 3: Alpine Linux 3.4, deepin 15.2 and Linux Lite 3.0
- 2Linux 4.7 Set to Boost Live Patching, Security and Power Management
- 3Linux 4.6 Charred Weasel adds USB 3.1 Support
- 4Linux Top 3: OpenIndiana 2016.04, Ubuntu 16.04 and Debian's New Leader
- 5Linux Top 3: KaOS 2016.04, TurnKey 14.1 and pfSense 2.3