Comapring two Calender Objects for same Date object
hi,
I am having problem with Comparing two Calender Objects which is having same Date value but time stamp is not same.when i printed as Calender.getTime()->i found them as.
Cal1-->Wed Feb 28 20:26:29 IST 2007
Cal2>Wed Feb 28 00:00:00 IST 2007
Now the method:
While(Cal1.getTime().compareTo(Cal2.getTime()) ==0 ) is Evaluating false.
i dont want to be concerned with time stamp.i want condition to be true.
Please help me .thx in advance.
Cheers
Akash

