Why don't you just compare the date objects directly?