I need to find out the difference between to dates and post that info to a new field.
Example: I create a case and the creation date and time is stamped. The modified date and time is updated whenever the case is edited. I would like to calculate the time difference between the creation and modified in days, hours, minutes.
I would ideally like to use this is a workflow, but if it can be done with a java scripts in the onchange event that is doable as well.