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
S Balaji 8S Balaji 8 

Can anyone share the trigger code for calculating the most recent date from other two date fields in same object please?

Sai PraveenSai Praveen (Salesforce Developers) 
Hi Balaji,

You can > or < operators same as Numbers in date field comparison aswell. 

Let me know what you need to perform on trigger once compared so can share the trigger code for it.

Let me know if you face any issues.

If this solution helps, Please mark it as best answer.

Thanks,