Results 1 to 5 of 5

Thread: counting time elapsed

  1. #1

    Thread Starter
    Addicted Member ZanM's Avatar
    Join Date
    Oct 1999
    Location
    The here and now.
    Posts
    191

    Post

    i need to count the time elapsed from a starting point and i can't remmember the interval to set a timer to, to get a minute ever 60 times around anybody know


    ------------------
    SomeTimes Coffee Just Isn't Enough.
    Zan Magi

  2. #2
    So Unbanned DiGiTaIErRoR's Avatar
    Join Date
    Apr 1999
    Location
    /dev/null
    Posts
    4,111

    Post

    timers aren't always right it'ld be better if you got the time(then) then compare it to the current time(now) then get the difference
    like;
    started at:
    12:30 P.M.
    Current:
    1:00 P.M.
    you'll have to use 24 hour time though unless you want A LOT of code


    ------------------
    DiGiTaIErRoR

  3. #3
    Addicted Member
    Join Date
    May 1999
    Location
    Californ-I- A
    Posts
    207

    Post

    If you must use a timer ... interval is in milliseconds therefore 1000 represent one second.

  4. #4
    Lively Member Maartin's Avatar
    Join Date
    Jan 2000
    Location
    Benoni, Gauteng, South-Africa
    Posts
    99

    Post

    If you dont want to use the standard VB timers, which tends to be not 100% acurate try the High Performance timers from CCRP.

    Mail me and i'll mail you the file.
    But yes you have to set the timer interval to 60000 to get 60 secs.



    ------------------
    -----------------------
    Maartin
    [email protected]
    -----------------------

  5. #5

    Thread Starter
    Addicted Member ZanM's Avatar
    Join Date
    Oct 1999
    Location
    The here and now.
    Posts
    191

    Post

    thanks guys I didn't want to use time but i may yet if the timer doesn't work well enough

    ------------------
    SomeTimes Coffee Just Isn't Enough.
    Zan Magi

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width