File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
The moose likes Java in General and the fly likes Date difference! Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Date difference!" Watch "Date difference!" New topic

Date difference!

Sridhar Srinivasan
Ranch Hand

Joined: Nov 07, 2003
Posts: 117
I want to calculate the difference between 2 dates(with time) in with the following conditions:
Take 8 hrs per day
Exclude saturdays and sundays.
Can anybody help me please?Thanks.

Bear Bibeault
Author and ninkuma

Joined: Jan 10, 2002
Posts: 63858

Not a thing in the world to do with JSP, so this has been moved to the Java in General(intermediate) forum.

[Asking smart questions] [About Bear] [Books by Bear]
I agree. Here's the link:
subject: Date difference!
It's not a secret anymore!