I'm trying to write a SOQL query that uses " WHERE Date__c = THISYEAR() " but that isn't working... I think what i'd need to do is create a variable:
Integer currentyear = System.Today().year()
however I feel like that isn't optimal... what's the best way to do this?