How to get current year using apex in Salesforce? September 3, 2013June 9, 2022InfallibleTechie Admin Sample Code: Integer Year = Date.Today().Year();