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
sammy cyborgsammy cyborg 

trigger to populate Last Modified date on Content version

can you help with the trigger

in the content version, there is a Last Modified Date that populates both the date and time, so I created a custom field called Last_Modified__c with a field type Date that is set to create only date not time. 

now I need a trigger that populates the last modified date, not time in Last_Modified__c based on the LastModifiedDate field in the content version.