title: MSSQL - Convert milliseconds since 1970 to datetime2
body: <p>Consider the following query (in MSSQL 2008):</p>
  
  <pre><code>SELECT dateModified FROM SomeTable;
  </code></pre>
  
  <p>This returns floats in javascript format (milliseconds since 1970):</p>
  
  <pre><code>dateModified 
  ============ 
  1301598290687 
  1071003581343 
  1311951478593
  </code></pre>
  
  <p>How can I convert this to a datetime2 right in the select?</p>