A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Difference between 2 dates
Joined: Dec 08, 2001
Feb 06, 2003 23:00:00
I need to know the difference between 2 date objects in number of days.
Is there any direct api which will help me do this or I have to do this in a roundabout manner?
The strength of the Wolf is the pack & the strength of the pack is the wolf....Rudyard Kipling
Joined: Feb 12, 2002
Feb 07, 2003 00:42:00
There is no any direct implementation in API.
U can do that using
Joined: May 05, 2000
Feb 09, 2003 20:23:00
Take a look at the TimeSpan class that I wrote:
Associate Instructor - Hofstra University
Amazon Top 750 reviewer
Blog - Unresolved References
Book Review Blog
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link:
subject: Difference between 2 dates
Difference between Object and Instance
How to get the difference between 2 dates ?
NX: choices.txt (Lazy bum vs. Please shut him up!)
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2015