Date field comparison
Content
Hi Team,
I have 2 custom date fields named as firstPPMdate_c and Enddate_c. While saving the record with value, the firstPPMdate_c should be earlier or equal to the enddate.But it is not working properly. Below is the validation script I have used. Please let me know if anyone aware of it.
Thanks,
Shaheela
Version
20DCode Snippet
//Object Validation rule definition if(FirstPPMDate_c >= EndDate_c) { return true } //Error Message First PPM Date should be earlier or equal to End Date !!
Tagged:
0