wood burning stoves 2.0
The moose likes Java in General and the fly likes How to calculate two date Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "How to calculate two date" Watch "How to calculate two date" New topic

How to calculate two date


Joined: Oct 10, 2002
Posts: 1
May I know how to calculate two date to calculate the difference of two day?
Jamie Robertson
Ranch Hand

Joined: Jul 09, 2001
Posts: 1879

you can adjust the code to allow decimals, rounding or different time units( days, hours, etc ).
Cindy Glass
"The Hood"

Joined: Sep 29, 2000
Posts: 8521
Please change your name to be compliant with JavaRanch's naming policy.
Your displayed name should be 2 separate names with more than 1 letter each. We really would prefer that you use your REAL name.
You can change your name: here.

"JavaRanch, where the deer and the Certified play" - David O'Meara
I agree. Here's the link: http://aspose.com/file-tools
subject: How to calculate two date
It's not a secret anymore!