title: How do you calculate the number of weeks between two dates?
body: <p>How do you calculate the number of weeks between two dates?</p>
  
  <p>for example as follows</p>
  
  <pre><code>Declare @StartDate as DateTime = "01 Jan 2009";
  Declare @EndDate as DateTime = "01 June 2009";
  
  @StartDate and @EndDate
  </code></pre>