I have two date fields i need to compare two date field for different conditions like if date1=date2 "ontime" , This is for reporting purpose . Note it should compare only dates not time
Thank you inadvance
I have two date fields i need to compare two date field for different conditions like if date1=date2 "ontime" , This is for reporting purpose . Note it should compare only dates not time
Thank you inadvance
It is not very clear what you are requesting but if what you want is to compare if two CreatedDate fields are equal in a formula you can do something like this:
IF(CreatedDate == Parent.CreatedDate, 'On time', 'Not On Time')
I used the Account CreatedDate and the Parent.CreatesDate for this example but you need to add your own fields there. This formula works, so if this is what you are looking for I hope it helps. Remember that when creating a field for this formula you need to select a text formula type.
Maybe you can start with this document to help you understand a bit better formulas. A Introduction to Formulas
IF((DATEVALUE(Text(Committed_Shipdate_rpt__c)) >= DATEVALUE(Text(Ship_date_rpt__c) )) ,"ON Time" , "Late")