title: Simple time profiling - strange times
body: <p>I'm trying to profile my code to check how long it takes to execute some parts of my code.</p>
  
  <p>I've wrapped my most time-consuming part of the code in something like that:</p>
  
  <pre><code>DateTime start = DateTime.Now;
  ...
  ... // Here comes the time-consuming part
  ... 
  Console.WriteLine((DateTime.Now - start).Miliseconds);
  </code></pre>
  
  <p>The program is executing this part of code for couple of seconds (about 20 s) but in console I get the result of something about 800 miliseconds. Why is that so? What am I doing wrong? </p>