Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!husc6!mit-eddie!uw-beaver!tektronix!reed!percival!bucket!leonard
From: leonard@bucket.UUCP (Leonard Erickson)
Newsgroups: comp.sys.ibm.pc
Subject: Re: Standard date bug
Message-ID: <598@bucket.UUCP>
Date: Wed, 25-Nov-87 01:07:19 EST
Article-I.D.: bucket.598
Posted: Wed Nov 25 01:07:19 1987
Date-Received: Sun, 29-Nov-87 12:38:38 EST
References: <7457@eddie.MIT.EDU>
Reply-To: leonard@bucket.UUCP (Leonard Erickson)
Organization: Rick's Home Grown Unix; Portland, OR
Lines: 20

The bug *always* occurs. There's a discussion of it in Norton's Programmers
Guide to the PC.

My solution on PCs and XTs is to update the date & time from the clock card
before any critical points. "shell" out and run GETCLOCK (or your clockcard's
equivalent).

On ATs, I've got a Turbo Pascal program that does the same thing with the
AT onboard clock. Source code (Turbo release 3.1a or release 4.0) is available
if you send me a bang path to mail it over.

I'm planning to extanded my AT program to work on PCs with AST compatible
clock cards (most of the ones I've seen!). When I get that working, I'll
post source and executable.

-- 
Leonard Erickson		...!tektronix!reed!percival!bucket!leonard
CIS: [70465,203]
"I used to be a hacker. Now I'm a 'microcomputer specialist'.
You know... I'd rather be a hacker."