SQL Server Forums
Profile | Register | Active Topics | Members | Search | Forum FAQ
 
Register Now and get your question answered!
Username:
Password:
Save Password
Forgot your Password?

 All Forums
 SQL Server 2000 Forums
 SQL Server Development (2000)
 calculate the business hours between two dates
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic  

abul_mohsin
Starting Member

Saudi Arabia
20 Posts

Posted - 01/17/2013 :  04:50:13  Show Profile  Reply with Quote
I need to calculate the business hours(08:00:00 - 18:00:00) between two dates by ignoring the weakend that is friday,

Earlist reply is highly appriciated.

Sample date in the table
SubmitDate SubmitTime ReplyDate ReplyTime
08/01/2013 17:48:03 12/01/2013 08:20:29

need the difference between these two dates and time by ignoring the weakend Friday.


Thanks & Best Regard's
Abul Mohsin
  Previous Topic Topic Next Topic  
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
SQL Server Forums © 2000-2009 SQLTeam Publishing, LLC Go To Top Of Page
This page was generated in 0.03 seconds. Powered By: Snitz Forums 2000