title: How can I get the execution time of a program in milliseconds in C?
body: <p>Currently I'm getting the execution wall time of my program in <strong>seconds</strong> by calling: </p>
  
  <pre><code>time_t startTime = time(NULL);
  //section of code
  time_t endTime = time(NULL);
  double duration = difftime(endTime, startTime);
  </code></pre>
  
  <p>Is it possible to get the wall time in <strong>milliseconds</strong>? If so how?</p>