This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach 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 | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Java in General
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://aspose.com/file-tools
 
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?