I would like to compare two dates for equality in Java.
here is how I am generating a timestamp for a new record into an Access db
Calendar date = Calendar.getInstance();
java.util.Date today = date.getTime();
sqltoday = new java.sql.Date(today.getTime());
I need to retrieve all rows in a database where one date is equal to today's date.
How can I do this?