Thread: System time in milliseconds

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

    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
    937
    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, 02:43 PM
  2. Read and set\change system time
    By Hexxx in forum C++ Programming
    Replies: 9
    Last Post: 01-02-2006, 07: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, 01:56 PM