This week's book giveaway is in the Agile and other Processes forum.
We're giving away four copies of The Mikado Method and have Ola Ellnestam and Daniel Brolund on-line!
See this thread for details.
The moose likes Java in General and the fly likes Date Comparison Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Java in General
Reply Bookmark "Date Comparison" Watch "Date Comparison" New topic
Author

Date Comparison

srinivasan gopalan
Greenhorn

Joined: Aug 02, 2006
Posts: 2
Hi,

I have two Date objects that has the time part (hh:mi)also set and would like to compare the date part (DD/MM/YYYY) alone without taking into consideration the time (hh:mi) part. Could you please let me know the best way to do it? Many thanks.

Regards,
Prashanth Paul
Vijay Vaddem
Ranch Hand

Joined: Feb 13, 2004
Posts: 243
check this link....
 
I agree. Here's the link: http://ej-technologies/jprofiler - if it wasn't for jprofiler, we would need to run our stuff on 16 servers instead of 3.
 
subject: Date Comparison
 
Similar Threads
identify resultset modified by the database.
mm-dd-yy hh:mi - dateTime format (xs:dateTime)
Using setDate(column,Date) to insert date in sybase database
Insert Date With Time Prepared Stament...?
java.util.Date does it contain information about hours?