I have two strings containing dates.. I converted them into Date objects. now I want to compare them. I know that there is a very small difference between the two.. difference of a few seconds..... which i want to disregard.
if i use the equals method, my program displays that they are not equal..
but i want it to display that they are equal...
So, that means, i want to compare two Date Objects ( date and time ...in hours and minutes only) ....
How can i do that?
is there any other method available?