title: tweepy get tweets between two dates
body: <p>I have the following code in Python:</p>
  
  <pre><code>import tweepy
  
  consumer_key = "..."
  consumer_secret = "..."
  
  access_token = "..."
  access_token_secret = "..."
  
  auth = tweepy.OAuthHandler(consumer_key, consumer_secret)
  auth.set_access_token(access_token, access_token_secret)
  
  start_date = datetime.datetime(2018, 1, 19, 12, 00, 00)
  end_date = datetime.datetime(2018, 1, 19, 13, 00, 00)
  
  api = tweepy.API(auth)
  
  for tweet in tweepy.Cursor(api.user_timeline, screen_name="@IBM", since=start_date, until=end_date).items():
      print("ID TWEET: " + str(tweet.id))
  </code></pre>
  
  <p>Is there a way to get tweets between <code>start_date</code> and <code>end_date</code>, by modifying the cursor with tweepy?</p>
  
  <p>I have already tried to use the <code>since=</code> and <code>until=</code> parameters, but they have not worked.</p>
  
  <p>Thank you in advance.</p>