aspose file tools
The moose likes Beginning Java and the fly likes compare data from ArrayList Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

Win a copy of Groovy Fundamentals video training course this week in the Groovy forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "compare data from ArrayList" Watch "compare data from ArrayList" New topic

compare data from ArrayList

Rajeev Ja
Ranch Hand

Joined: May 06, 2007
Posts: 38
I have some dates in database
i got system date new Date();
i have to check for equality between them and
do some task how can i do
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14811

1. Get the dates from the database (for example using JDBC)
2. Use the methods in the classes java.util.Date or java.util.Calendar to compare dates (see the API documentation)

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
I agree. Here's the link:
subject: compare data from ArrayList