function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ravindar AdminRavindar Admin 

Roll up summary based on current year

I have a rollupsummary field(ex: RollupField__c)  on Account, which calculates(SUM) the value from custom object field (ex: share__c(Number datatype). I am looking to calculate for the current year.
For, Example If we are in January 2019, If the account does not have any new child records in 2019. The Rollupsummary value should be '0'.
Any suggestions? Thanks