Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Calculate Business Hours

Status
Not open for further replies.

Zurich98

Programmer
Apr 8, 2006
64
US
Hello Forum Experts,

I'm using SQL Server 2005. I need to calculate the business hours between two dates for two departments.

Here are the scenarios:

for customer service: business hours are 8am - 6pm excluding Saturday and Sunday

for tech support: business hours are 8am - 10:30pm including Saturday and Sunday

Can you please tell me if this can be accomplished. Your help/suggestion is greatly appreciated.

Thanks
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top