I've managed to get all events between two dates as mentioned in [this](https://developers.google.com/google-apps/calendar/quickstart/nodejs) example on pure nodeJs environment. 

But when i use same cording with nodeJs Express App, It doesn't respect the timeMin and timeMax parameters. 

Instead, i get all the events from the date that i created first event on calendar. 
Here is my code block looks like.

```
function listEvents(auth) {
  var calendar = google.calendar('v3');
  calendar.events.list({
    auth: auth,
    calendarId: 'primary',

    timeMin: (new Date(Date.parse("2018-01-22"))).toISOString(),
    timeMax: (new Date(Date.parse("2018-02-27"))).toISOString(),

    singleEvents: true,
    orderBy: 'startTime'
  }, function(err, response) {
    if (err) {
      console.log('The API returned an error: ' + err);
      return;
    }
    var events = response.items;
    if (events.length === 0) {
      console.log('No upcoming events found.');
    }
    else {
       // Do Some Stuff ...............
    }
  });
}

```

What am i missing here..?