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
Sumanth Kumar 17Sumanth Kumar 17 

How to update date field for a custom object

Hello developers...
Can you guys help me out on how to update date field for a custom object using apex
ManojjenaManojjena
HI Sumanth,

Which date you want to update ? Can u explain your requirment with bit more explanation .Which date you want to update ,When you want to update ?
Thanks  
Manoj
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Sumanth,

To update the Date Field for custom Object Using Formula Field please check the below link for reference. I hope it will be helpful.

BestRegards
RahulKumar
Sumanth Kumar 17Sumanth Kumar 17
Hi Manoj,
I have a custom object and I have a Date field which i need to update. I need to do it via apex controller. Could you help me out with this?

Thanks for your concern.
Sumanth kumar