title: Getting wrong Month when using new Date() type
body: <h1>What I want to do:</h1>
  <p>I want to create a new Date().</p>
  <h2>My Code:</h2>
  <pre><code>checkDates (currentRecSec: RecommendedSection){
         var currActiveFrom = new Date(currentRecSec.activeFrom.year,currentRecSec.activeFrom.month,currentRecSec.activeFrom.day);
         var currActiveTo = new Date(currentRecSec.activeTo.year,currentRecSec.activeTo.month,currentRecSec.activeTo.day);
  }
  </code></pre>
  <h2>My Problem</h2>
  <p><code>currentRecSec</code> is given in this way:</p>
  <pre><code>activeFrom: {year: 2020, month: 10, day: 1}
  activeTo: {year: 2020, month: 10, day: 2}
  </code></pre>
  <p>What happens is that I get the following result:</p>
  <p><code>Sun Nov 01 2020 00:00:00 GMT+0100 (Central European Standard Time)</code></p>
  <p><code>Mon Nov 02 2020 00:00:00 GMT+0100 (Central European Standard Time)</code></p>
  <p>So I get November and not October.</p>
  <p>I know that the months start counting at 0.</p>
  <p>But is there a simple way to fix this?</p>