+ Start a Discussion
abinayaabinaya 

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
abinayaabinaya
Hi Anoop,

i have checked this and when i calculate manually the value is different and in system debug i am getting different value.