title: Get system time accurate to milliseconds in Windows cmd
body: <p>I'm trying to get the system time accurate to milliseconds in Windows cmd. I know that it's possible to get centisecond accuracy using:</p>
  
  <pre><code>echo %time%
  </code></pre>
  
  <p>I've found other questions that are asking the exact same thing but there is no answer that fully answers the question. Here is what I've found so far:</p>
  
  <p>This solution is only good for centisecond accuracy (same as what I described above):
  <a href="https://stackoverflow.com/questions/605522/print-time-in-a-batch-file-milliseconds">Print time in a batch file (milliseconds)</a></p>
  
  <p>This solution provides a timer solution but not a print current timestamp solution:
  <a href="https://stackoverflow.com/questions/13053563/print-batch-time-in-milliseconds">Print Batch Time in Milliseconds</a></p>
  
  <p>Any help would be much appreciated.</p>