System time in milliseconds

This is a discussion on System time in milliseconds within the Windows Programming forums, part of the Platform Specific Boards category; How do I get the system time in milliseonds? (I need to time something)...

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

    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
    920
    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, 10:03 AM
  4. Replies: 3
    Last Post: 06-13-2005, 08: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

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21