title: Get current quarter in year with javascript
body: <p>How can I get the current quarter we are in with javascript? I am trying to detect what quarter we are currently in, e.g. 2.</p>
  
  <p><strong>EDIT</strong> And how can I count the number of days left in the quarter?</p>