aspose file tools*
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
Author

How to calculate two date

howsen
Greenhorn

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 ).
Jamie
Cindy Glass
"The Hood"
Sheriff

Joined: Sep 29, 2000
Posts: 8521
howsen,
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.
Thanks,
Cindy


"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
 
Similar Threads
how to covert string to date object?.
how to get duration starting date to ending date in visual jsf
java method to calculate due date
difference in days
finding days of two dates in jsp page