title: How to get between days elasticsearch
body: <p>I had SQL query to retrieve how many days from now and check for in between days.</p>
  
  <p><strong>MySQL Query</strong></p>
  
  <p><code>SELECT * FROM table_name WHERE datediff(now(), table_name.created_at) BETWEEN 31 AND 90</code></p>
  
  <p>The query will retrieve data that in between 31 to 90 days old.</p>
  
  <p>How to retrieve the same thing in Elastic Search using Search APIs query?</p>