Learn about Redwood and be one of the first to join the conversation

Visit Redwood Community
Exclude weekends from the create date and closed date — Cloud Customer Connect
You're almost there! Please answer a few more questions for access to the Applications content. Complete registration
Interested in joining? Complete your registration by providing Areas of Interest here. Register

Exclude weekends from the create date and closed date

Accepted answer
48
Views
72
Comments
edited Dec 12, 2018 5:06AM in Reporting & Analytics for B2C Service 72 comments

Summary

Need to exclude the weekends while calculating he date difference

Content

Hi Team,

I am struggling to calculate the time difference between incident creation and closed dates by excluding the weekends. here are the columns and function which I am using to calculate date difference date_diff(incidents.closed,incidents.created), but this logic is counting the days including the weekends. As per requirement I need to exclude the weekends and calculate actual business dates. Could you please help me here on this issue.

Thanks & Regards,

Ashok Ganesh

Version

18C

Howdy, Stranger!

Log In

To view full details, sign in.

Register

Don't have an account? Click here to get started!