title: SqlFunctions.DatePart equivalent in EF Core
body: <p>What is the equivalent of the following statement in EF Core?</p>
  
  <pre><code>SqlFunctions.DatePart("week", x.MyDate)
  </code></pre>
  
  <p><code>EF.Functions</code> doesn't seem to have a <code>DatePart</code> method.</p>