SI
SI
discoversearch

We've detected that you're using an ad content blocking browser plug-in or feature. Ads provide a critical source of revenue to the continued operation of Silicon Investor.  We ask that you disable ad blocking while on Silicon Investor in the best interests of our community.  If you are not using an ad blocker but are still receiving this message, make sure your browser's tracking protection is set to the 'standard' level.
Technology Stocks : Y2K (Year 2000) Personal Contingency Planning

 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext  
To: Bill Wexler who wrote (126)4/20/1998 5:00:00 AM
From: Jeffrey S. Mitchell  Read Replies (1) of 888
 
Sorry, Bill. You made a fatal assumption. You assumed the input mechanism accounted for a 4 digit year. Most programs written in the 80s and even 90s ask for dates in mm/dd/yy format.

Since, in your words, "the world doesn't run on 30 year old mainframes with ancient Cobol code", let's take a typical PC based language: dBase.

* initialize variable with a blank date
Birth_date = ctod(" / / ")
* ask for date
@ 10,25 say "Please enter birthday" get Birth_date
READ

Assume someone entered "04/20/00".
? YEAR(Birth_date)
. 1900

Assume someone entered "04/20/99"
? YEAR(Birth_date)
. 1999

As I said in my earlier post, the programmer would probably have written code to assume years of future dates should be in the 1800s and adjust accordingly.

You can criticize programmers all you want about capturing dates in mm/dd/yy format, but thems the facts sir!

- Jeff
Report TOU ViolationShare This Post
 Public ReplyPrvt ReplyMark as Last ReadFilePrevious 10Next 10PreviousNext