Re: Y2K - date parsing

From: Kent Landfield <kent_at_hypermail-project.org>
Date: Mon, 12 Oct 1998 21:04:03 -0500 (CDT)
Message-Id: <199810130204.VAA17230_at_landfield.com>


# Byron Darrah wrote:
# > One thing that class has, which might be a nice thing to put into the
# > hypermail beta (?), is the way that it computes the century if given a
# > two-digit year: It chooses whichever century will result in placing the
# > date within fifty years of the current time. That helps insure against
# > fast or slow clocks and a few other things.
#
# I like that approach. I've had the notion for something like +/- 50 y from
# the century (or millennium, as the case may be :), but never got
# comfortable with a fixed limit. +/-50y from the *current* date seems like
# a generally reasonable approach.

The approach I added to hypermail to deal with two digit years is a direct rip off of Byron's idea and code. :)

-- 
Kent Landfield                        Phone: 1-817-545-2502             
Email: kent_at_landfield.com             http://www.landfield.com/
Email: kent_at_nfr.net                   http://www.nfr.net/
Please send comp.sources.misc related mail to kent_at_landfield.com
Search the Usenet FAQ Archive at http://www.faqs.org/faqs/
Received on Tue 13 Oct 1998 04:05:44 AM GMT

This archive was generated by hypermail 2.2.0 : Thu 22 Feb 2007 07:33:50 PM GMT GMT