Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Oracle Miscellaneous > Re: How to calc...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 5 of 5 Topic 6868 of 7280
Post > Topic >>

Re: How to calculate time difference excluding weekends (saturday and

by deepakp <deepak10000@[EMAIL PROTECTED] > May 1, 2008 at 01:26 PM

On Apr 30, 2:21 pm, Ken Denny <k...@[EMAIL PROTECTED]
> wrote:
<snip>
> Assuming that date2 is the later date and that neither date falls on a
> Saturday or Sunday, this should do it:
>
> date2 - date1 - 2*(trunc(next_day(date2-1,'FRI')) -
> trunc(next_day(date1-1,'FRI')))/7
</snip>

Ken,

Thank you so much..this works perfectly.

Deepak
 




 5 Posts in Topic:
How to calculate time difference excluding weekends (saturday an
deepakp <deepak10000@[  2008-04-30 06:49:28 
Re: How to calculate time difference excluding weekends (saturda
Charles Hooper <hooper  2008-04-30 07:29:31 
Re: How to calculate time difference excluding weekends (saturda
deepakp <deepak10000@[  2008-04-30 09:45:23 
Re: How to calculate time difference excluding weekends (saturda
Ken Denny <ken@[EMAIL   2008-04-30 12:21:12 
Re: How to calculate time difference excluding weekends (saturda
deepakp <deepak10000@[  2008-05-01 13:26:32 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Wed Dec 3 0:25:51 CST 2008.