You need to sign in to do that
Don't have an account?

Expression help: CreatedDate > specific date/time
I'm trying to create a validation rule that only has to work when the date of creation is greater than a specific date (e.g. 21/12/2010).
With date fields I know I have to use the expression: Custom date field > DATE (2010,10,21)
But CreatedDate is a date/time field. How should I adapt the expression below in order to make it work?
AND
(
(ISPICKVAL( Reason_Won_lost__c ,'')),
( CreatedDate > xxx),
OR
(
(ISPICKVAL( Actual_Stage__c ,'Closed lost')),
(ISPICKVAL( Actual_Stage__c ,'Closed won'))
)
)
Thanks in advance!
DATEVALUE(Created date) > DATE (2010,10,21)
or
DATEVALUE(Created date) > DATEVALUE('21/12/2010')
try this.
All Answers
DATEVALUE(Created date) > DATE (2010,10,21)
or
DATEVALUE(Created date) > DATEVALUE('21/12/2010')
try this.
The first one worked!
Thanks a lot!!