/build/static/layout/Breadcrumb_cap_w.png

Report Date Diff Excluding Weekends

I am trying to create a custom report to determine the date difference between date/time created to today (i.e. DATEDIFF(NOW()-HD_TICKET.CREATED) but I need it to calculate the difference to exclude weekends.  I don't see a calendar table available within the database.

Is there another way of determining the difference in business day (without any rules to modify to ticket date/time)?

 

Thanks for the help!


0 Comments   [ + ] Show comments

Answers (1)

Posted by: cblake 11 years ago
Red Belt
0

Here's a few examples that might be useful in determining the SQL for your specific need:

http://www.itninja.com/question/limit-reminder-emails-to-certain-hours


Comments:
  • Thanks, I will try it out. - kaneda0149 11 years ago

Don't be a Stranger!

Sign up today to participate, stay informed, earn points and establish a reputation for yourself!

Sign up! or login

View more:

Share

 
This website uses cookies. By continuing to use this site and/or clicking the "Accept" button you are providing consent Quest Software and its affiliates do NOT sell the Personal Data you provide to us either when you register on our websites or when you do business with us. For more information about our Privacy Policy and our data protection efforts, please visit GDPR-HQ