Answers.Body: <p>I managed to figure this out on my own.  There's a good chance this solution will work for searching for entries between custom date fields using Craft's standard entry system (not the Venti Plugin) as well.</p>
  
  <pre><code> {% set start = craft.request.param('startMonth') %}
   {% set end = craft.request.param('endMonth') %}
   {% set entries = craft.venti.events.startDate('and', '&gt;= ' ~ start|date('Y-m-d'), '&lt;= ' ~ end|date('Y-m-d')) %}
  
   {% for entry in entries %}
        &lt;p&gt;{{ entry.title }}&lt;/p&gt;
   {% endfor %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2016-04-26T20:16:41.580Z
Answers.LastActivityDate: 2016-04-26T20:16:41.580Z
Answers.UserDisplayName: triplethreat23
Body: <p>I am using the Venti Events Calendar Plugin. I was wondering how I could go about searching for events between 2 dates.</p>
  
  <p>I can display events between 2 dates below, using the .between parameter. But I have not figured out how to incorporate this into a search.</p>
  
  <pre><code>{% set events = craft.venti.events.between('2016-04-01 00:00:00','2016-05-19 00:00:00') %}
  </code></pre>
  
Tags: <search><plugin-ventievents>
Title: Search Between 2 Dates Venti Calendar Plugin
ThreadText: # Search Between 2 Dates Venti Calendar Plugin
  
  (Asked by: username_0 on 2016-04-22)
  
  I am using the Venti Events Calendar Plugin. I was wondering how I could go about searching for events between 2 dates.
  
  I can display events between 2 dates below, using the .between parameter. But I have not figured out how to incorporate this into a search.
  
  ```
  {% set events = craft.venti.events.between('2016-04-01 00:00:00','2016-05-19 00:00:00') %}
  
  ```
  
  **Tags:** search, plugin-ventievents
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_0 on 2016-04-26. Score: 2 | Accepted answer
  
  I managed to figure this out on my own. There's a good chance this solution will work for searching for entries between custom date fields using Craft's standard entry system (not the Venti Plugin) as well.
  
  ```
   {% set start = craft.request.param('startMonth') %}
   {% set end = craft.request.param('endMonth') %}
   {% set entries = craft.venti.events.startDate('and', '>= ' ~ start|date('Y-m-d'), '<= ' ~ end|date('Y-m-d')) %}
  
   {% for entry in entries %}
        <p>{{ entry.title }}</p>
   {% endfor %}
  
  ```
  
  
  ---
  
  