You need to sign in to do that
Don't have an account?
The new Learner
how to find the businessday using apex class
HI Experts,
I Have requirment ,where i need to find out the businessday between two days, eg: if startdate is today, and startday-3, i need to find out the businessday between these two days by excluding holidays and weekends.
I Have requirment ,where i need to find out the businessday between two days, eg: if startdate is today, and startday-3, i need to find out the businessday between these two days by excluding holidays and weekends.
Greetings!
Can you please check the sample code in the below document to calculate the Business days using the apex code.
https://salesforcekings.blogspot.com/2015/09/business-day-calculation-in-apex.html
Kindly let me know if it helps you and close your query by marking it as solved so that it can help others in the future.
Warm Regards,
Shirisha Pathuri
Thanks for the update , but i am not understanding how to check-3 days , can you help me please