I need to check birthdate in validation rule .If birthdate==01/01/2000 then i need to throw an validation error.

I used below condition but I am getting different error Birthdate=DATE(01,01,2000)

Error while saving record:

Validation Formula "birtdate_Validation" Invalid (Month or Day out of range in DATE() function)'

  • 1
    Please do not remove your entire question body once you receive an answer. – Adrian Larson Oct 17 '18 at 9:36

Date function takes Year, Month and Date in that order.



DATE(2000, 01, 01) 

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.