title: timestamp in milliseconds in Windows
body: <p>I need to measure two separate events in time and compare them (not in the same application), so I would like to know the timestamp from the same reference (different applications on the same machine). </p>
  
  <p>What's the simplest way of doing this on a Windows system? I've read about gettimeofday but that seems to be a Unix-specific function. </p>
  
  <p>Also I don't want to use boost or any other external library (windows libraries are fine).</p>