Thread: System time in milliseconds

  1. #1
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    921

    System time in milliseconds

    How do I get the system time in milliseonds? (I need to time something)
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

  2. #2
    S­énior Member
    Join Date
    Jan 2002
    Posts
    982
    You can use timeGetTime(), declared in mmsystem.h. You have to link with winmm.lib.

  3. #3
    Kiss the monkey. CodeMonkey's Avatar
    Join Date
    Sep 2001
    Posts
    921
    Thanks
    "If you tell the truth, you don't have to remember anything"
    -Mark Twain

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Need help with time
    By Gong in forum C++ Programming
    Replies: 7
    Last Post: 01-11-2007, 01:43 PM
  2. Read and set\change system time
    By Hexxx in forum C++ Programming
    Replies: 9
    Last Post: 01-02-2006, 06:11 AM
  3. Replies: 4
    Last Post: 06-13-2005, 09:03 AM
  4. Replies: 3
    Last Post: 06-13-2005, 07:28 AM
  5. Passing system time to a function
    By Unregistered in forum C++ Programming
    Replies: 7
    Last Post: 02-14-2002, 12:56 PM