Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. how to get the system time in mili second

how to get the system time in mili second

Scheduled Pinned Locked Moved C / C++ / MFC
helptutorialquestion
3 Posts 3 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • R Offline
    R Offline
    rajneshmalik
    wrote on last edited by
    #1

    hi i want to write a log file for my application how can i get time in mili second.Is there any function to get time in mili second please help me thank u malik

    T C 2 Replies Last reply
    0
    • R rajneshmalik

      hi i want to write a log file for my application how can i get time in mili second.Is there any function to get time in mili second please help me thank u malik

      T Offline
      T Offline
      toxcct
      wrote on last edited by
      #2

      in milliseconds since when ?


      [VisualCalc][Binary Guide][CommDialogs] | [Forums Guidelines]

      1 Reply Last reply
      0
      • R rajneshmalik

        hi i want to write a log file for my application how can i get time in mili second.Is there any function to get time in mili second please help me thank u malik

        C Offline
        C Offline
        Cedric Moonen
        wrote on last edited by
        #3

        GetSystemTime[^] But if you only need milisecond to check for a time difference (for example how much msec elapsed between two points in your program), then it is much more easier to use GetTickCount[^]


        Cédric Moonen Software developer
        Charting control [v1.2]

        1 Reply Last reply
        0
        Reply
        • Reply as topic
        Log in to reply
        • Oldest to Newest
        • Newest to Oldest
        • Most Votes


        • Login

        • Don't have an account? Register

        • Login or register to search.
        • First post
          Last post
        0
        • Categories
        • Recent
        • Tags
        • Popular
        • World
        • Users
        • Groups