title: Google Calendar API querying all events for the last 1 months in Python
body: <p>I am looking into this <a href="https://developers.google.com/calendar/quickstart/python" rel="nofollow noreferrer">quickstart example</a> from Google Calendar API. It shows 10 events starting from now to the future. </p>
  
  <pre><code>eventsResult = service.events().list(
          calendarId='primary', timeMin=now, maxResults=10, singleEvents=True,
          orderBy='startTime').execute()
  </code></pre>
  
  <p>I need to find out all the events for the last 1 month. I understand I need to use <code>timeMax</code> variable but not sure how to specify it. Any suggestion?</p>