You need to sign in to do that
Don't have an account?
Érick BS
Validation Rule function MONTH()
Hi! I am facing a small problem, but so far I was not able to solve this issue.
Is anyone can help me to solve this?
The function MONTH(TODAY())-3 should return 11, but I think that is return -1 and of course does not exist the month -1 :)
Is anyone can help me to solve this?
The function MONTH(TODAY())-3 should return 11, but I think that is return -1 and of course does not exist the month -1 :)
Redlining__Effec_Date__c < DATE(YEAR(TODAY()),MONTH(TODAY())-3,DAY(TODAY()))
Have you tried running a CASE function first where you get the current month, and return 3 months before, then use that as the MONTH?
Using the CASE fucntion will give you a set result depending on what went in, just remember it has to end with an ELSE line so I included DECEMBER wich would give a 9 as simply the 9.
First, thank you very much for helping.
I've been working as a Salesforce developer for a small-time...
I tried your suggestion but is not working... Now is showing the message "Error: Incorrect parameter type for function 'MONTH()'. Expected Date, received Number".
I tried to use convert data like DATEVALUE, but still does not work.
Could you help again? Pls
For the months 2, 3, 4 and 5 I can’t solve it...