title: How to count days between 2 dates excluding Saturday and Sunday in Postgresql
body: <p>If do:</p>
  
  <pre><code>SELECT '2017-03-31'::DATE  - '2017-03-01'::DATE AS daysCount
  </code></pre>
  
  <p>it returns days count between those dates. I need same but excluding all Saturdays and Sundays. How?</p>