title: How to get Tweet from date x to date y
body: <pre><code>def search_for_a_tweet(bearer_token, query,D1,D2):
  
      url = "https://api.twitter.com/1.1/statuses/user_timeline.json"
      formed_url ='?screen_name='+query+'&amp;count=300&amp;fromDate=D1&amp;toDate=D2'
  
  search_results = search_for_a_tweet(bearer_token,'TOIIndiaNews','201808060000','201808070000')
  </code></pre>
  
  <p>Here I get only current date tweet.
  Help me for this.                           </p>