title: How to get the time elapsed in C in milliseconds? (Windows)
body: <p>I've searched in the Web but I've only found a way for do it, but in this way it returns in seconds instead of milliseconds.</p>
  
  <p>My code is:</p>
  
  <pre><code>#include &lt;stdio.h&gt;
  #include &lt;assert.h&gt;
  #include &lt;time.h&gt;
  
  int main(void)
  {
      int solucion;
  
      time_t start, stop;
      clock_t ticks;
      long count;
  
      time(&amp;start);
      solucion = divisores_it(92000000, 2);
      time(&amp;stop);
  
      printf("Finnished in %f seconds. \n", difftime(stop, start));
      return 0;
  }
  </code></pre>