Date: Fri, 06 Feb 1998 10:22:43 -0500 From: "Brian J. McGovern" <mcgovern@spoon.beta.com> To: Uncle Flatline <flatline@pchb1f.gallaudet.edu> Cc: questions@FreeBSD.ORG, robl@phoebe.accinet.net Subject: Re: Year 2000 compliance statement? Message-ID: <199802061522.KAA17543@spoon.beta.com> In-Reply-To: Your message of "Fri, 06 Feb 1998 10:06:03 EST." <Pine.BSF.3.96.980206100104.3710A-100000@pchb1f.gallaudet.edu>
next in thread | previous in thread | raw e-mail | index | archive | help
I think DOS displays as two digits, but its stored internally as something larger. According to the MS-DOS function guide I have, INT 0x21, subfunction 0x2A, get date: Call with: AH = 0x2A Returns: CX = Year (1980 through 2099) DH = Month (1 through 12) DL = Day (1 through 31) Under MS-Dos Versions 1.1 and later AL = Day of the week (0=Sunday, 1=Monday, etc) So, therefore, one can assume its aware of Y2K through 2099 before breaking. Hopefully, 1000 years from now, someone won't be running MS-Dos anymore. -Brian
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199802061522.KAA17543>