title: React native: Get the weeks of each month
body: <p>I am developing an events calendar application. Based on the current date, I got 50 months, and now I want to get the weeks of each of those months. Can anyone help me?</p>
  <p>My rows array contains the list of months.</p>
  <pre><code>for(let i = 0; i &lt;= pastScrollRange + futureScrollRange; i++){
      const rangeDate = date.clone().addMonths(i - pastScrollRange, true);
      const rangeDateStr = rangeDate.toString('MMMM yyyy');
      
      if((pastScrollRange - 1 &lt;= i &amp;&amp; i &lt;= pastScrollRange+1) || (!pastScrollRange &amp;&amp; i &lt;= pastScrollRange+2)){
          rows.push(rangeDate)
      }else{
          rows.push(rangeDateStr)
      }
  }
  </code></pre>