This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I can't catch your question exactly. To check if two dates are identical, you can use compareTo(Date other) method and see if it returns 0. You can get difference (miliseconds) between date1 and date2 from date1.getTime()-date2.getTime(). [ February 14, 2008: Message edited by: Daesung Park ]