I've tried to follow a ton of other articles posted on Stackoverflow for showing posts between 2 dates. I just can't seem to get it working and I keep getting an error of: Call to a member function getTimestamp() on boolean
{% set startDate = now | date_modify('first day of ' ~ qFilter) %}
{% set endDate = startDate | date_modify('+ 1 month') %}
{% set entries = craft.entries.section('events').postDate('<= startDate').expiryDate('>= endDate') %}
(qFilter is a url param: eg "May")
I'm trying to show posts that were live during a certain month.