C# version of Javascript Date.getTime()
<p>What is the best way in c# to get the same result of javascript date.gettime() call?</p>

<blockquote>
  <p>The getTime() method returns the number of milliseconds since midnight of January 1, 1970 and the specified date.</p>
</blockquote>
