You need to sign in to do that
Don't have an account?

buisness hour class
hi
I am calculating due date with help of buisness hour class , my due date is 3.5 hrs ahead of some x date.
But addgmt method does not accept the decimal values . Is there any other alternative to give time in minutes .
Thanks
Swati



As the docs say, addGMT is in _milliseconds_, not hours. 3.5 hours is 210 minutes which is 756000 seconds which is 756000000 ms. So add 756000000.