title: Date is incrementing by a month after daylight saving is over in Javascript
body: <p>im trying to add dates to an array, all works well, date is incremented by one but after the first of october the javascript increments it by a month.</p>
  
  <pre><code>var currentDate = new Date();
  var startDate = new Date();
   for (var i = 0; i &lt;= 4; i++) {
        currentDate.setDate(startDate.getDate() + i);
  console.log (currentDate);
      }
  </code></pre>
  
  <p>OUTPUT:</p>
  
  <ul>
  <li>Mon Sep 28 2015 11:58:23 GMT+0100 (GMT Daylight Time)</li>
  <li>Tue Sep 29 2015 11:58:23 GMT+0100 (GMT Daylight Time)</li>
  <li>Wed Sep 30 2015 11:58:23 GMT+0100 (GMT Daylight Time)</li>
  <li>Thu Oct 01 2015 11:58:23 GMT+0100 (GMT Daylight Time)</li>
  <li>Sun Nov 01 2015 11:58:23 GMT+0000 (GMT Standard Time)</li>
  </ul>