Re: Timer interval limitation
From: Ralph (nt_consulting32_at_hotmail.com)
Date: 02/27/04
- Next message: Don_at_home.com: "Re: DataGrid clears the first field of the first record??"
- Previous message: M Wilson: "Re: DataGrid clears the first field of the first record??"
- In reply to: Larry Serflaten: "Re: Timer interval limitation"
- Next in thread: Larry Serflaten: "Re: Timer interval limitation"
- Reply: Larry Serflaten: "Re: Timer interval limitation"
- Reply: Rick Rothstein: "Re: Timer interval limitation"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 27 Feb 2004 09:03:11 -0600
"Larry Serflaten" <serflaten@usinternet.com> wrote in message
news:Ov%23TLAU$DHA.320@TK2MSFTNGP10.phx.gbl...
> "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
>
Yep.
IF both are recorded and 'full date' VB routines are used. Unfortunately
that 'if' is often not taken into consideration. Any routine that is
expected to work pass midnight should be tested for 'midnight' - if OK, then
fine, no additional code is needed.
The programmer that doesn't validate for midnight for his particular timer
does so at his (or rather his client's) perl.
-ralph
- Next message: Don_at_home.com: "Re: DataGrid clears the first field of the first record??"
- Previous message: M Wilson: "Re: DataGrid clears the first field of the first record??"
- In reply to: Larry Serflaten: "Re: Timer interval limitation"
- Next in thread: Larry Serflaten: "Re: Timer interval limitation"
- Reply: Larry Serflaten: "Re: Timer interval limitation"
- Reply: Rick Rothstein: "Re: Timer interval limitation"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|