Displaying entires by year from a custom date field I have a date field (date) in my entry and I wish to get all entries of a specified year.  Can’t figure it out at all.  Here’s what I have now, to sort them by that field: 

craft.entries.section('evenements').order('date desc')


My "year" is passed to the page through routing and is named "year".  I can get that. 

Thanks
Looks like I finally found an answer to it

year being my param

date being my custom date field

{% set dateParam = 'and, &gt;= ' ~ year ~ '-01-01, &lt; ' ~ (year + 1) ~ '-01-01' %}
&lt;ul&gt;
    {% for entry in craft.entries.section('evenements').order('date desc').date(dateParam) %}
        &lt;li&gt;&lt;a href="{{ entry.url }}"&gt;{{ entry.title }}&lt;/a&gt;&lt;/li&gt;
    {% endfor %}
&lt;/ul&gt;