Is there anyway to get the current year so I can use it in a template?

            {{ if segment_2 }}
                {{ theme:partial src="default" folder="blog/{segment_2}" }}
            {{ else }}
                {{ theme:partial src="default" folder="blog/{current_date format='Y'}" }}
            {{ /if }}           

This doesn't work and current_date is not processed.

Ideas?

Answered by Philip Meissner! Go to answer.