You need to sign in to do that
Don't have an account?
abinaya
Business Hours Difference Calculation
Hi all,
I would like to know how the business hours diff calculation is working? I am facing a issue on it.
Start Time is : 7/30/2014 3:11 PM
End Time is : 7/30/2014 3:00 PM
Business Hours is 9 AM to 6 PM (IST).
In code we have used the below formula.
BusinessHours.diff(businessHoursId, StartTime, EndTime).
Please let me know how the calculation works?
Thanks in advance!!!
Regards,
Abinaya S
I would like to know how the business hours diff calculation is working? I am facing a issue on it.
Start Time is : 7/30/2014 3:11 PM
End Time is : 7/30/2014 3:00 PM
Business Hours is 9 AM to 6 PM (IST).
In code we have used the below formula.
BusinessHours.diff(businessHoursId, StartTime, EndTime).
Please let me know how the calculation works?
Thanks in advance!!!
Regards,
Abinaya S
Check the below Link.
https://www.salesforce.com/us/developer/docs/apexcode/Content/apex_classes_businesshours.htm
i have checked this and when i calculate manually the value is different and in system debug i am getting different value.