Answers.Body: <p>The <code>calendar.month</code> function is designed to only display complete months, so as long as you specify a date, it's going to show you events for that whole month (before and after).</p>
  
  <p>What you're looking for is the <code>calendar.events</code> function:
  <a href="https://solspace.com/craft/calendar/docs/calendar.events/" rel="nofollow noreferrer">https://solspace.com/craft/calendar/docs/calendar.events/</a></p>
  
  <p>The code to display events starting from <strong>today</strong> plus 1 month (+30 days) would look something like this:</p>
  
  <pre><code>{% set events = craft.calendar.events({
     dateRangeStart: 'today',
     dateRangeEnd: '30 days'
  }) %}
  </code></pre>
  
  <p>If you're looking to display events starting <strong>today</strong> but stop and the <strong>END of the current month</strong>, your code would look something like this:</p>
  
  <pre><code>{% set events = craft.calendar.events({
     dateRangeStart: 'today',
     dateRangeEnd: 'last day of +0 month'
  }) %}
  </code></pre>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-18T09:38:34.057Z
Answers.Text: Thank you for the reply. I'm a bit confused by this. What is the purpose of the `dateRangeStart` and `dateRangeEnd` as mentioned in the [documentation for craft.calendar.month](https://solspace.com/craft/calendar/docs/calendar.month/#parameters)? The reason I'm asking is that I want to output the events of a specific month grouped by days as in `{% for week in month %} {% for day in week %} ... ` which from what I understand is not possible using `craft.calendar.events.`
Answers.UserDisplayName: Panos Spiliotis
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-22T20:13:44.303Z
Answers.Text: Honestly, I think those are errors in the documentation. I will double check with our lead developer and then remove them. Sorry for the confusion.
Answers.UserDisplayName: Solspace
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-18T04:00:32.967Z
Answers.LastActivityDate: 2017-12-18T04:00:32.967Z
Answers.UserDisplayName: Solspace
Body: <p>I would like to get the events with all their occurrences that belong to a specific month but ignore any of those occurrences before a certain date.
  From the documentation, the <code>dateRangeStart</code> parameter should the trick but it doesn't work for me. The following query returns all events starting from December 1st. </p>
  
  <pre><code>{% set month = craft.calendar.month({
      dateRangeStart: '2017-12-17',
      calendar: calendarHandle
  }) %}
  </code></pre>
  
  <p>Any help?</p>
  
Tags: <solspace><plugin-solspacecalendar>
Title: Is there a way to output the events that belong in a month after a specific date using the Calendar plugin by Solspace?
ThreadText: # Is there a way to output the events that belong in a month after a specific date using the Calendar plugin by Solspace?
  
  (Asked by: username_0 on 2017-12-17)
  
  I would like to get the events with all their occurrences that belong to a specific month but ignore any of those occurrences before a certain date.
  From the documentation, the `dateRangeStart` parameter should the trick but it doesn't work for me. The following query returns all events starting from December 1st.
  
  ```
  {% set month = craft.calendar.month({
      dateRangeStart: '2017-12-17',
      calendar: calendarHandle
  }) %}
  
  ```
  
  Any help?
  
  **Tags:** solspace, plugin-solspacecalendar
  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-12-18. Score: 1
  
  The `calendar.month` function is designed to only display complete months, so as long as you specify a date, it's going to show you events for that whole month (before and after).
  
  What you're looking for is the `calendar.events` function:
  <https://username_1.com/craft/calendar/docs/calendar.events/>
  
  The code to display events starting from **today** plus 1 month (+30 days) would look something like this:
  
  ```
  {% set events = craft.calendar.events({
     dateRangeStart: 'today',
     dateRangeEnd: '30 days'
  }) %}
  
  ```
  
  If you're looking to display events starting **today** but stop and the **END of the current month**, your code would look something like this:
  
  ```
  {% set events = craft.calendar.events({
     dateRangeStart: 'today',
     dateRangeEnd: 'last day of +0 month'
  }) %}
  
  ```
  
  > **Comments:**
  > **username_0**: Thank you for the reply. I'm a bit confused by this. What is the purpose of the `dateRangeStart` and `dateRangeEnd` as mentioned in the [documentation for craft.calendar.month](https://username_1.com/craft/calendar/docs/calendar.month/#parameters)? The reason I'm asking is that I want to output the events of a specific month grouped by days as in `{% for week in month %} {% for day in week %} ... ` which from what I understand is not possible using `craft.calendar.events.`  
  > **username_1**: Honestly, I think those are errors in the documentation. I will double check with our lead developer and then remove them. Sorry for the confusion.  
  
  ---
  
  