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 Comparison 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 Comparison" Watch "Date Comparison" New topic

Date Comparison

srinivasan gopalan

Joined: Aug 02, 2006
Posts: 2

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.

Prashanth Paul
Vijay Vaddem
Ranch Hand

Joined: Feb 13, 2004
Posts: 243
check this link....
Don't get me started about those stupid light bulbs.
subject: Date Comparison
Similar Threads
mm-dd-yy hh:mi - dateTime format (xs:dateTime)
Using setDate(column,Date) to insert date in sybase database
identify resultset modified by the database.
Insert Date With Time Prepared Stament...?
java.util.Date does it contain information about hours?