Stories
Slash Boxes
Comments
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

The Fine Print: The following comments are owned by whoever posted them. We are not responsible for them in any way.
 Full
 Abbreviated
 Hidden
More | Login | Reply
Loading... please wait.
  • One strange thing, our client uses a 1 digit year field which seems very daring :)


    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.