NOTE: use Perl; is on undef hiatus. You can read content, but you can't post it. More info will be forthcoming forthcomingly.
All the Perl that's Practical to Extract and Report
Stories, comments, journals, and other submissions on use Perl; are Copyright 1998-2006, their respective owners.
what goes around (Score:1)
During my second work term at university I was fixing the one-digit version of the Y2K concern. (This was in 1970 and the new decade had just triggered some problems.)
This was in the customer records for an oil company. They kept records for a few years of history, but also had to sometimes deal with dates that had a future year (don't deliver any fuel oil to my house next February).
Using mod 10 arithmetic, (up to) five years previous, the current year, and two years in the future were allowed, leaving two years that were treated as invalid to catch items that were going out of range.
Reply to This