title: javascript getDate getMonth returns wrong month
body: <p>I know there have been other posts about this but I can't see to figure out what I am doing wrong here. Below is my code:</p>
  
  <pre><code>var d = new Date();
  var month = d.getMonth();
  System.log(d);
  System.log(month);
  </code></pre>
  
  <p>My output looks like this:</p>
  
  <pre><code>[2015-04-01 09:24:53.012] [I] Wed Apr 01 2015 09:24:53 GMT-0400 (EDT)
  [2015-04-01 09:24:53.012] [I] 3
  </code></pre>
  
  <p>Shouldn't the bottom output be a 4? </p>
  
  <p>Thanks in advance</p>