Thread: Time in milliseconds?

  1. #1
    Registered User
    Join Date
    Jun 2002
    Posts
    267

    Time in milliseconds?

    Is there a way to get time in milliseconds or time something in milliseconds? I've had no luck so far, maybe someone can help...

  2. #2
    Registered User
    Join Date
    Apr 2002
    Posts
    1,571
    Yep, use the function timeGetTime(); Which returns the time since windows started, in milliseconds. Link to the library winmm.lib and include windows.h

  3. #3
    Registered User
    Join Date
    Jun 2002
    Posts
    267
    *sigh* I answered my own question... sorry

  4. #4
    Registered User
    Join Date
    Jun 2002
    Posts
    267
    Originally posted by MrWizard
    Yep, use the function timeGetTime(); Which returns the time since windows started, in milliseconds. Link to the library winmm.lib and include windows.h
    Thanks! That worked better than the way I found!
    Last edited by d00b; 08-05-2002 at 09:37 PM.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Execution Time - Rijandael encryption
    By gamer4life687 in forum C++ Programming
    Replies: 5
    Last Post: 09-20-2008, 09:25 PM
  2. Sending an email in C program
    By Moony in forum C Programming
    Replies: 28
    Last Post: 10-19-2006, 10:42 AM
  3. Journey time prog 1 minute wrong
    By mike_g in forum C Programming
    Replies: 4
    Last Post: 10-12-2006, 03:41 AM
  4. time class
    By Unregistered in forum C++ Programming
    Replies: 1
    Last Post: 12-11-2001, 10:12 PM