swh@hpcupt1.cup.hp.com (Steve Harrold) (10/18/90)
>>> We have an application that runs over the weekend. It prints a message >>> after processing, and then waits for user input. This usually lasts 1 >>> to 2 days, and the system date does not update during this time. ---------- As I recall, when midnight rolls around, DOS merely sets a flag indicating such. The next time the clock is referenced by an application via a system call, the clock logic sees the flag and updates the day. If 2 or more midnights occur before such a reference, you will see but a single advance of the day. To resolve your problem, modify your application to time-out periodically, (less than 24 hours) and reference the clock. Thus there will never be any lost midnight flags. Hope this helps.