I am just getting my feet wet with Salesforce Formula Fields. I am trying to create a formula field.
I have a field called 'Days Since Last Update' which is a number type. I am trying to use this formula:
TODAY() - LastModifiedDate
I get this error:
Error: Incorrect parameter type for operator '-'. Expected Number, Date, received DateTime
'LastModifiedDate' is a standard field in the 'Case' Object. I know it probably some simple fix, but I cannot get my head around it. I understand that the field is expecting a number type and I am probably returning a Date, but according to the examples I am looking at, the syntax should be correct.