title: Google Calendar API filtering events in next 7 days
body: <p>I was wondering how can I filter array to display all events in the next 15 days. When I try to get only start with toISOString I get results but I am not sure how to convert to the same format the date which I am trying to get(add days from today).</p>
  
  <p>[<a href="https://developers.google.com/calendar/v3/reference/events/list]" rel="nofollow noreferrer">https://developers.google.com/calendar/v3/reference/events/list]</a></p>
  
  <pre><code>let now = new Date();
  let today = (new Date()).toISOString();
  let nextWeek = new Date();
  nextWeek.setDate(now.getDate() + 15);
  let events = response.result.items;
  const sortedEvents = events.filter(event =&gt;
     event.start.dateTime &gt;= nextWeek 
     &amp;&amp; event.end.dateTime &lt;= nextWeek
  );
  setEvents(sortedEvents);
  </code></pre>
  
  <p>Expected: Events within 15 days
  Actual: Empty array</p>