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
Dippan PatelDippan Patel 

Get createdDate of a custom field in apex

Hi, 

How should I get a createdDate for the custom field using Apex? 
Best Answer chosen by Dippan Patel
Ajay K DubediAjay K Dubedi
Hi Dippan,

If you want to get the created date of a custom object you can definitely get it but as per your question you are trying to 
get the created date of a custom field which according to me is not possible to get from code.
Surely you can check it from UI. 

Thanks.
Ajay Dubedi

All Answers

Raj VakatiRaj Vakati
I dnt think so its possiable .. createdDate you can access only from the UI 
Ajay K DubediAjay K Dubedi
Hi Dippan,

If you want to get the created date of a custom object you can definitely get it but as per your question you are trying to 
get the created date of a custom field which according to me is not possible to get from code.
Surely you can check it from UI. 

Thanks.
Ajay Dubedi
This was selected as the best answer