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
SA.ax1574SA.ax1574 

How to fetch the last modified date from Oppertunity history object in the trigger

Hi ALL,

    I have Oppertunity object and Oppertunity history object.  I would like to fetch the  last modified date from Oppertunity history object in the trigger.

kiranmutturukiranmutturu

you can make use of SystemModstamp field to get the same but it will give you as datetime format

 

SELECT SystemModstamp, OpportunityId FROM OpportunityHistory