You need to sign in to do that
Don't have an account?
HARISH S 11
a trigger on contact object to get the number of days Lived
Hello - Could someone help me with this trigger, a trigger on contact object to get the number of days Lived, take two custom fields 1) Date of birth, 2)Number of days Lived, populate the days in second field.
Please find the below link from the success community and change the created date field to your custom date of birth field which will populate the number of days lived.
- https://success.salesforce.com/answers#!/feedtype=SINGLE_QUESTION_DETAIL&id=90630000000gmxsAAA
Please let us know if you have any issues.Mark this as resolved if the information helps.
Thanks,
Nagendra
Below is a code for the same. I have created 2 custom field (DOB__C & No_of_Days_Lived__C) on Contact Object .
Below is the attached screenshot for the same
Regards,
Akshay