+ Start a Discussion
rajmullrajmull 

date comparison using formula fields

hi gurus(geeks)...   i want to compare two date fields.... i.e:  i have taken a date filed as from _date, and  to _date fields ... N issue is   to date should accept  >=3 of from date..  i tried using formula field....not succeeded...   need help!!!!!

Best Answer chosen by Admin (Salesforce Developers) 
s_m_ss_m_s

Hi

 

I have written validation rule for this. please try it...

 

Error Condition Formula --  to_date__c < from_date__c + 3

   

If it works mark it as Solved.
Thanks

All Answers

s_m_ss_m_s

Hi

 

I have written validation rule for this. please try it...

 

Error Condition Formula --  to_date__c < from_date__c + 3

   

If it works mark it as Solved.
Thanks
This was selected as the best answer
rajmullrajmull

hi s_m_s  it worked!!! thankuu ....jus started..now...expecting lot from all of u..                 thanku u alll....in advance