You need to sign in to do that
Don't have an account?
sebastian lonberg
time to resolve a case
In Salesforce I have to date/time fields: -ClosedDate -CreatedDate in the Case object.
I have another field which is a formula field(number) names TimeToClose, and I want that field to contain in hours the time since CreatedDate to ClosedDate , only summing the business hours and week days. for example:
Date/Time Opened 4/3/2023, 9:56 AM
Date/Time Closed 4/3/2023, 2:11 PM
in thiis case the answer should be something near 4 hours.
I tried this but for the mentioned Case , the output is showing -0.63 and it does not have sense.
Thank you so much for any help.
I have another field which is a formula field(number) names TimeToClose, and I want that field to contain in hours the time since CreatedDate to ClosedDate , only summing the business hours and week days. for example:
Date/Time Opened 4/3/2023, 9:56 AM
Date/Time Closed 4/3/2023, 2:11 PM
in thiis case the answer should be something near 4 hours.
I tried this but for the mentioned Case , the output is showing -0.63 and it does not have sense.
Thank you so much for any help.
You can try with below formula and let me know further :
Also refer -> https://developer.salesforce.com/forums/?id=906F00000008xkfIAA
If it helps please mark this as Best Answer.
Thank you.