[AccessD] Resolution of Time call

John Colby jwcolby at gmail.com
Tue Sep 27 07:28:57 CDT 2022


I sent you an email offline with a demo using my timer class.  Don't freak,
it just works.

On Tue, Sep 27, 2022 at 8:20 AM Gustav Brock via AccessD <
accessd at databaseadvisors.com> wrote:

> Hi Arthur
>
> Use Timer, much simpler.
> It returns seconds since machine launch with about 1/18 s resolution and
> two decimals:
>
> Dim StartTime As Currency
> Dim Duration As Currency
>
> StartTime = Timer
> ' Run Process ...
> Duration = Timer - StartTime
>
> Debug.Print Duration
>
> /gustav
>
> -----Oprindelig meddelelse-----
> Fra: AccessD <accessd-bounces+gustav=cactus.dk at databaseadvisors.com> På
> vegne af Arthur Fuller
> Sendt: 27. september 2022 14:09
> Til: Access Developers discussion and problem solving <
> accessd at databaseadvisors.com>
> Emne: [AccessD] Resolution of Time call
>
> I'm trying to time the duration of a test procedure. When I set a variable
> to Time, I get back something like "8:05:31 AM." First, what data type is
> this? Second, how can I grab just the seconds part?
>
> --
> Arthur
> --
> AccessD mailing list
> AccessD at databaseadvisors.com
> https://databaseadvisors.com/mailman/listinfo/accessd
> Website: http://www.databaseadvisors.com
>


-- 
John W. Colby
Colby Consulting


More information about the AccessD mailing list