how to know the current year month in soql code example Example: soql last year delete [SELECT Id FROM Opportunity WHERE CreatedDate = LAST_YEAR];