title: How to get the number of hours between the two dates in sql
body: <p>How to get the number of hours between the two dates in SQL Server </p>
  
  <p>Example:</p>
  
  <pre><code>staffing_start_date (2017-08-01 06:00:00.00000)
  staffing_end_dt (2017-08-01 18:00:00.00000)
  </code></pre>