Java -Datum ist einem anderen Datum
// date1 and date2 are Date objects
if(date1.compareTo(date2)==0){
// the dates are equal
}
Karamolegkos
// date1 and date2 are Date objects
if(date1.compareTo(date2)==0){
// the dates are equal
}