title: why does javascript getMonth count from 0 and getDate count from 1?
body: <p>This question is purely to satisfy my curiosity.</p>
  
  <p>In the JavaScript Date object, when you call <code>getMonth()</code> it returns the month but it counts from 0.</p>
  
  <pre><code>0 = January
  1 = February 
  ...
  </code></pre>
  
  <p>But when you call <code>getDate()</code> it starts counting from 1</p>
  
  <pre><code>1 = 1
  2 = 2
  ... 
  </code></pre>
  
  <p>Why the inconsistency?</p>