This is probably a very simple question but I am getting an NaN error.
I want to display in a case list the number of days a case has been in the system using a calculated property. I am trying to use the "date-opened" property.
today() - date-opened
However, I get a NaN error. I've tried date(today()) - date(date-opened) and still get the same error. Different variations are returning a string conversation error.
Aha, you are right that I missed the parentheses, thanks for the correction.
Sorry about the confusion regarding date-opened v. date_opened, there are a few places where there is a mismatch in the "polish" layer that the website applies to try to simplify some things, but then ends up making them harder for advanced cases.