Re: Timer interval limitation

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Larry Serflaten (serflaten_at_usinternet.com)
Date: 02/27/04


Date: Fri, 27 Feb 2004 08:47:12 -0600


"Ralph" <nt_consulting32@hotmail.com> wrote
> Any timer routine you chose that uses a 'get current time' (Now, ...) to
> compare to some start or previously fetched time - will likely develop
> problems around midnight.
>
> Always add a special case for midnight.

A date type holds a date as well as time. If both are recorded and used,
there is no trouble with midnight.

LFS