Skip to content

Instantly share code, notes, and snippets.

@a-am
Last active January 15, 2016 22:44
Show Gist options
  • Save a-am/a011cc2f1bcb7e5f6276 to your computer and use it in GitHub Desktop.
Save a-am/a011cc2f1bcb7e5f6276 to your computer and use it in GitHub Desktop.
List of events between now and end of the month.
{% set today = now %}
{% set nextMonth = now | date_modify('first day of next month') %}
{% set events = craft.venti.allEvents().startDate('and', '>= ' ~ now, '<= ' ~ nextMonth).find() %}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment