+ Start a Discussion
deepakMdeepakM 

validation rule for compare the current month in salesforce

hi every one 

 

i have one feild "closeddate__c".i need that Close Date not  to be earlier than current month.for that i used this 

CloseDate < TODAY()

 

but it dont allow the current mth also.As todaty is 8/29/2012 it not allow the   8/28/2012.

 

 

Please help me .

 

thanks

 

 

Best Answer chosen by Admin (Salesforce Developers) 
deepakMdeepakM

i got the solution 

 

MONTH(CloseDate) < MONTH(TODAY())